This commit is contained in:
parent
0e45db7f60
commit
891a4bced1
@ -16,10 +16,9 @@ RUN cargo build --release
|
||||
|
||||
RUN rm -f /home/rust/src/src/main.rs
|
||||
COPY src /home/rust/src/src
|
||||
RUN sudo chown -R rust:rust . && \
|
||||
touch /home/rust/src/src/main.rs
|
||||
RUN touch /home/rust/src/src/main.rs
|
||||
|
||||
RUN cargo build --release
|
||||
RUN cargo build -v --release
|
||||
|
||||
FROM scratch
|
||||
|
||||
@ -27,8 +26,6 @@ COPY static /static
|
||||
COPY templates /templates
|
||||
COPY --from=builder /home/rust/src/target/x86_64-unknown-linux-musl/release/qchgk_web /
|
||||
|
||||
VOLUME /db
|
||||
|
||||
EXPOSE 8088/tcp
|
||||
|
||||
ENTRYPOINT ["/qchgk_web"]
|
||||
|
Loading…
Reference in New Issue
Block a user