Fix dockerfile

This commit is contained in:
Valentin Brandl 2019-08-09 12:39:04 +02:00
parent 4fa11bced1
commit f3bfffd0a9
No known key found for this signature in database
GPG Key ID: 30D341DD34118D7D

View File

@ -30,9 +30,9 @@ RUN cargo build --release
# delete build cache to prevent caching issues later on # delete build cache to prevent caching issues later on
RUN rm -r ./target/x86_64-unknown-linux-musl/release/.fingerprint/gitache-* RUN rm -r ./target/x86_64-unknown-linux-musl/release/.fingerprint/gitache-*
COPY ./backend/static ./gitache/static COPY ./backend/static ./static
COPY ./backend/src ./gitache/src COPY ./backend/src ./src
COPY ./time-cache/src ./time-cache/src COPY ./time-cache/src ../time-cache/src
# build source code # build source code
RUN cargo build --release RUN cargo build --release