1
0
Fork 1
mirror of https://example.com synced 2024-12-04 02:46:38 +09:00

container: fix build

This commit is contained in:
naskya 2024-02-07 19:08:10 +09:00
parent 10c0dee522
commit 8d42a95e9c
Signed by: naskya
GPG key ID: 712D413B3A9FED5C

View file

@ -15,8 +15,9 @@ RUN <<EOC
EOC
# Copy only the cargo dependency-related files first, to cache efficiently
COPY Cargo.toml Cargo.toml
COPY Cargo.lock Cargo.lock
COPY packages/backend-rs/Cargo.toml packages/backend-rs/Cargo.toml
COPY packages/backend-rs/Cargo.lock packages/backend-rs/Cargo.lock
COPY packages/backend-rs/src/lib.rs packages/backend-rs/src/
# Install cargo dependencies