rm chown and volume
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Dmitry Belyaev 2023-03-28 19:19:27 +03:00
parent 0e45db7f60
commit 891a4bced1
Signed by: b4tman
GPG Key ID: 41A00BF15EA7E5F3
1 changed files with 2 additions and 5 deletions

View File

@ -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"]