switch to alpine for final image

This commit is contained in:
Adithya 2024-01-15 20:06:09 +05:30
parent 5a4d418fd2
commit a72196d928
Signed by: adtya
GPG key ID: 48FC9915FFD326D0

View file

@ -9,7 +9,7 @@ RUN nix \
RUN mkdir -p /tmp/nix-store-closure RUN mkdir -p /tmp/nix-store-closure
RUN cp -ra $(nix-store -qR result/) /tmp/nix-store-closure RUN cp -ra $(nix-store -qR result/) /tmp/nix-store-closure
FROM debian:stable-slim FROM alpine:latest
WORKDIR /app WORKDIR /app
COPY --from=builder /tmp/nix-store-closure /nix/store COPY --from=builder /tmp/nix-store-closure /nix/store