mirror of
https://git.verdigado.com/NB-Public/simple-wkd.git
synced 2024-10-30 03:05:51 +01:00
Fix dockerfile
This commit is contained in:
parent
8d0d13458d
commit
f04e2d0541
4 changed files with 1 additions and 3 deletions
|
@ -3,7 +3,7 @@ FROM rust:1.68 AS bin-builder
|
|||
RUN export DEBIAN_FRONTEND=noninteractive && \
|
||||
apt-get update && \
|
||||
apt-get install clang llvm pkg-config nettle-dev -y
|
||||
COPY . .
|
||||
COPY backend .
|
||||
RUN cargo build --release
|
||||
|
||||
|
||||
|
@ -29,5 +29,3 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
|
|||
USER simplewkd
|
||||
COPY --from=webpage-builder assets assets
|
||||
COPY --from=bin-builder target/release/simple-wkd simple-wkd
|
||||
|
||||
ENTRYPOINT [ "./simple-wkd" ]
|
Loading…
Reference in a new issue