Copy git directory and templates in build container
This commit is contained in:
parent
33288efe82
commit
781cc9c8fc
@ -11,7 +11,9 @@ RUN cargo build --release
|
||||
RUN rm -r ./target/x86_64-unknown-linux-musl/release/.fingerprint/hoc-*
|
||||
|
||||
# copy source code
|
||||
COPY ./.git ./.git
|
||||
COPY ./static ./static
|
||||
COPY ./templates ./templates
|
||||
COPY ./src ./src
|
||||
# build source code
|
||||
RUN cargo build --release
|
||||
|
Loading…
Reference in New Issue
Block a user