From 462370b1d86c741b5d787cc41398394a49fa0e1c Mon Sep 17 00:00:00 2001 From: Mylloon Date: Sun, 9 Apr 2023 18:03:53 +0200 Subject: [PATCH] copy dist --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 7b7f5f3..4953e30 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,6 +5,7 @@ WORKDIR /usr/src/ewp COPY . . RUN cargo install --path . +RUN ewp --no-http FROM debian:bullseye-slim @@ -14,6 +15,7 @@ WORKDIR /app COPY --from=builder /usr/local/cargo/bin/ewp /app/ewp COPY --from=builder /usr/src/ewp/LICENSE /app/LICENSE COPY --from=builder /usr/src/ewp/static /app/static +COPY --from=builder /usr/src/ewp/dist /app/dist RUN mkdir /app/config RUN touch /app/config/config.toml