From f04e2d05418af3c234df619e3f9ae76388959263 Mon Sep 17 00:00:00 2001 From: Delta1925 Date: Sun, 16 Apr 2023 16:27:39 +0200 Subject: [PATCH] Fix dockerfile --- {website/.vscode => .vscode}/extensions.json | 0 {website/.vscode => .vscode}/launch.json | 0 {website/.vscode => .vscode}/settings.json | 0 Dockerfile | 4 +--- 4 files changed, 1 insertion(+), 3 deletions(-) rename {website/.vscode => .vscode}/extensions.json (100%) rename {website/.vscode => .vscode}/launch.json (100%) rename {website/.vscode => .vscode}/settings.json (100%) diff --git a/website/.vscode/extensions.json b/.vscode/extensions.json similarity index 100% rename from website/.vscode/extensions.json rename to .vscode/extensions.json diff --git a/website/.vscode/launch.json b/.vscode/launch.json similarity index 100% rename from website/.vscode/launch.json rename to .vscode/launch.json diff --git a/website/.vscode/settings.json b/.vscode/settings.json similarity index 100% rename from website/.vscode/settings.json rename to .vscode/settings.json diff --git a/Dockerfile b/Dockerfile index 65db3a3..c06d497 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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" ] \ No newline at end of file