use entrypoint

This commit is contained in:
Jim Clark
2023-05-18 00:48:57 -07:00
parent e504aafa11
commit 8587cdcd7c
4 changed files with 113 additions and 6 deletions

View File

@@ -9,7 +9,6 @@ RUN \
--mount=type=cache,target=/root/.cache \
--mount=type=bind,target=/tmp/build \
<<EOF
ls -l /nix/store | wc
nix \
--extra-experimental-features "nix-command flakes" \
--extra-substituters "http://host.docker.internal?priority=10" \
@@ -26,4 +25,4 @@ WORKDIR /app
COPY --from=builder /tmp/nix-store-closure /nix/store
COPY --from=builder /tmp/output/ /app/
ENTRYPOINT ["/app/result/bin/babashka-pod-docker"]
ENTRYPOINT ["/app/result/bin/entrypoint"]