From 5a292596ec965e057259b2751f83cd6624f1fc22 Mon Sep 17 00:00:00 2001 From: James Mills Date: Sun, 25 Aug 2024 15:58:07 +1000 Subject: [PATCH] Fix Docker image --- Dockerfile | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 55ef833..c909a28 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,17 @@ # Build FROM prologic/zs AS build +RUN mkdir -p /src + +WORKDIR /src + # Copy content -COPY --chown=zs . . +COPY . . # Build the site (in production mode) -#RUN zs -P build +RUN zs -p build + +# Runtime +FROM prologic/zs AS runtime + +COPY --from=build /src/.pub /data