neon_arch
commited on
Commit
•
09bb54e
1
Parent(s):
4364310
improve docker build by fixing dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -20,7 +20,7 @@ RUN cargo install --path .
|
|
20 |
|
21 |
# We do not need the Rust toolchain to run the binary!
|
22 |
FROM gcr.io/distroless/cc-debian11
|
23 |
-
COPY ./public/ ./public/
|
24 |
-
COPY ./websurfx/ ./websurfx/
|
25 |
COPY --from=builder /usr/local/cargo/bin/* /usr/local/bin/
|
26 |
CMD ["websurfx"]
|
|
|
20 |
|
21 |
# We do not need the Rust toolchain to run the binary!
|
22 |
FROM gcr.io/distroless/cc-debian11
|
23 |
+
COPY --from=builder ./public/ ./public/
|
24 |
+
COPY --from=builder ./websurfx/ ./websurfx/
|
25 |
COPY --from=builder /usr/local/cargo/bin/* /usr/local/bin/
|
26 |
CMD ["websurfx"]
|