Fix Docker image

This commit is contained in:
James Mills committed 2024-08-25 15:58:13 +10:00
1 parent 923eee622e
commit 5a292596ec
1 file changed
+11 -2
+11 -2
View File
@@ -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