aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
blob: 593505e71ea02f3266270c1102bbf86d9a1f4250 (plain)
1
2
3
4
5
6
7
8
9
FROM haskell:8.8
WORKDIR /opt/uplcg
COPY server/uplcg.cabal server/stack.yaml* /opt/uplcg/
RUN stack build --only-dependencies
COPY server /opt/uplcg
RUN stack build
ENV UPLCG_HOSTNAME=0.0.0.0 UPLCG_PORT=8002 UPLCG_BASE=/uplcg
EXPOSE 8002
CMD stack exec uplcg-server