0
0
mirror of https://github.com/neon-mmd/websurfx.git synced 2024-11-24 15:08:22 -05:00

improve docker build by fixing dockerfile

This commit is contained in:
neon_arch 2023-05-09 19:00:14 +03:00
parent 4364310b24
commit 09bb54e80f

View File

@ -20,7 +20,7 @@ RUN cargo install --path .
# We do not need the Rust toolchain to run the binary!
FROM gcr.io/distroless/cc-debian11
COPY ./public/ ./public/
COPY ./websurfx/ ./websurfx/
COPY --from=builder ./public/ ./public/
COPY --from=builder ./websurfx/ ./websurfx/
COPY --from=builder /usr/local/cargo/bin/* /usr/local/bin/
CMD ["websurfx"]