mirror of
https://github.com/neon-mmd/websurfx.git
synced 2024-11-21 13:38:21 -05:00
🛠️ fix: changing from relative to absolute paths and changing the paths to be copied to and from
This commit is contained in:
parent
1893e85365
commit
aab12695f0
@ -3,7 +3,7 @@ FROM rust:latest AS chef
|
||||
# it will be cached from the second build onwards
|
||||
RUN cargo install cargo-chef
|
||||
|
||||
WORKDIR app
|
||||
WORKDIR /app
|
||||
|
||||
FROM chef AS planner
|
||||
COPY . .
|
||||
@ -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 --from=builder ./public/ ./public/
|
||||
COPY --from=builder ./websurfx/ ./websurfx/
|
||||
COPY --from=builder /app/public/ /opt/websurfx/public/
|
||||
COPY --from=builder /app/websurfx/config.lua /etc/xdg/websurfx/config.lua
|
||||
COPY --from=builder /usr/local/cargo/bin/* /usr/local/bin/
|
||||
CMD ["websurfx"]
|
||||
|
Loading…
Reference in New Issue
Block a user