mirror of
https://github.com/neon-mmd/websurfx.git
synced 2024-11-21 21:48:21 -05:00
improve docker build by fixing dockerfile
This commit is contained in:
parent
4364310b24
commit
09bb54e80f
@ -20,7 +20,7 @@ RUN cargo install --path .
|
|||||||
|
|
||||||
# We do not need the Rust toolchain to run the binary!
|
# We do not need the Rust toolchain to run the binary!
|
||||||
FROM gcr.io/distroless/cc-debian11
|
FROM gcr.io/distroless/cc-debian11
|
||||||
COPY ./public/ ./public/
|
COPY --from=builder ./public/ ./public/
|
||||||
COPY ./websurfx/ ./websurfx/
|
COPY --from=builder ./websurfx/ ./websurfx/
|
||||||
COPY --from=builder /usr/local/cargo/bin/* /usr/local/bin/
|
COPY --from=builder /usr/local/cargo/bin/* /usr/local/bin/
|
||||||
CMD ["websurfx"]
|
CMD ["websurfx"]
|
||||||
|
Loading…
Reference in New Issue
Block a user