aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
blob: 7fd3bafcea4ffdf7fda6773dec29d727307729bc (plain)
1
2
3
4
5
6
7
8
9
10
FROM haskell:8.8.3
WORKDIR /opt/uplcg
COPY server/uplcg.cabal server/stack.yaml* /opt/uplcg/
RUN stack build --only-dependencies
COPY .git server /opt/uplcg/
RUN stack build
ENV LANG=C.UTF-8 LC_ALL=C.UTF-8
ENV UPLCG_HOSTNAME=0.0.0.0 UPLCG_PORT=8002
EXPOSE 8002
CMD stack exec uplcg-server