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-*
|
RUN rm -r ./target/x86_64-unknown-linux-musl/release/.fingerprint/hoc-*
|
||||||
|
|
||||||
# copy source code
|
# copy source code
|
||||||
|
COPY ./.git ./.git
|
||||||
COPY ./static ./static
|
COPY ./static ./static
|
||||||
|
COPY ./templates ./templates
|
||||||
COPY ./src ./src
|
COPY ./src ./src
|
||||||
# build source code
|
# build source code
|
||||||
RUN cargo build --release
|
RUN cargo build --release
|
||||||
|
Loading…
Reference in New Issue
Block a user