improve docker build by fixing dockerfile
This commit is contained in:
parent
4364310b24
commit
09bb54e80f
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue