0
0
Fork 0
mirror of https://git.verdigado.com/NB-Public/simple-wkd.git synced 2024-10-30 05:05:52 +01:00

Fix dockerfile

This commit is contained in:
Delta1925 2023-04-16 16:27:39 +02:00
parent 8d0d13458d
commit f04e2d0541
No known key found for this signature in database
GPG key ID: 1C21ACE44193CB25
4 changed files with 1 additions and 3 deletions

View file

@ -3,7 +3,7 @@ FROM rust:1.68 AS bin-builder
RUN export DEBIAN_FRONTEND=noninteractive && \ RUN export DEBIAN_FRONTEND=noninteractive && \
apt-get update && \ apt-get update && \
apt-get install clang llvm pkg-config nettle-dev -y apt-get install clang llvm pkg-config nettle-dev -y
COPY . . COPY backend .
RUN cargo build --release RUN cargo build --release
@ -29,5 +29,3 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
USER simplewkd USER simplewkd
COPY --from=webpage-builder assets assets COPY --from=webpage-builder assets assets
COPY --from=bin-builder target/release/simple-wkd simple-wkd COPY --from=bin-builder target/release/simple-wkd simple-wkd
ENTRYPOINT [ "./simple-wkd" ]