aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorJasper Van der Jeugt2020-08-16 12:59:46 +0200
committerJasper Van der Jeugt2020-08-16 12:59:46 +0200
commitb6c0ccfba0114e0ce54a442a0bca2fd4e7e86d0a (patch)
treec3129e14ca0f9cbd4992c07c9c1f05b52a1e0fc3 /Dockerfile
parent7ce4c4a4ae2bac10d5886cb4a442593623eea6b5 (diff)
Docker build should be able to read .git
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index 593505e..f8fc23d 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -2,7 +2,7 @@ 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
+COPY .git server /opt/uplcg/
RUN stack build
ENV UPLCG_HOSTNAME=0.0.0.0 UPLCG_PORT=8002 UPLCG_BASE=/uplcg
EXPOSE 8002