aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorMarc Coquand <marcc@fastmail.fr>2023-12-04 20:11:42 -0600
committerMarc Coquand <marcc@fastmail.fr>2023-12-04 20:11:42 -0600
commitadc54e70b6ae1fe65ac6c1f76ae32f4b4541afb3 (patch)
treeb01f5796aa327e892ff5427cdbf784c9b850d00e /Dockerfile
parent5f1fe650032a0e23682dcfa6f3942b8229ba8049 (diff)
downloadwormhole-adc54e70b6ae1fe65ac6c1f76ae32f4b4541afb3.tar.gz
wormhole-adc54e70b6ae1fe65ac6c1f76ae32f4b4541afb3.tar.bz2
wormhole-adc54e70b6ae1fe65ac6c1f76ae32f4b4541afb3.zip
Change to cmd
Diffstat (limited to '')
-rw-r--r--Dockerfile7
1 files changed, 1 insertions, 6 deletions
diff --git a/Dockerfile b/Dockerfile
index c5d749e..5841722 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -9,11 +9,6 @@ RUN nix \
--option filter-syscalls false \
build
-RUN nix \
- --extra-experimental-features "nix-command flakes" \
- --option filter-syscalls false \
- develop -c dune build
-
RUN mkdir /tmp/nix-store-closure
RUN cp -R $(nix-store -qR result/) /tmp/nix-store-closure
@@ -24,4 +19,4 @@ WORKDIR /app
# Copy /nix/store
COPY --from=builder /tmp/nix-store-closure /nix/store
COPY --from=builder /tmp/build/result/ /app
-ENTRYPOINT /app/bin/wormhole
+CMD ["/app/bin/wormhole"]