Copy static resources in docker container

This commit is contained in:
Valentin Brandl 2019-04-16 20:56:24 +02:00
parent 14b9b9fa44
commit 17b817bacc
No known key found for this signature in database
GPG Key ID: 30D341DD34118D7D

View File

@ -11,6 +11,7 @@ RUN cargo build --release
RUN rm -r ./target/x86_64-unknown-linux-musl/release/.fingerprint/hoc-* RUN rm -r ./target/x86_64-unknown-linux-musl/release/.fingerprint/hoc-*
# copy source code # copy source code
COPY ./static ./static
COPY ./src ./src COPY ./src ./src
# build source code # build source code
RUN cargo build --release RUN cargo build --release