mirror of
https://github.com/neon-mmd/websurfx.git
synced 2024-12-22 04:18: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!
|
||||
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"]
|
||||
|
Loading…
Reference in New Issue
Block a user