Fix Docker image

This commit is contained in:
James Mills 2024-08-25 15:58:07 +10:00
parent 923eee622e
commit 5a292596ec
No known key found for this signature in database
GPG Key ID: AC4C014F1440EBD6

View File

@ -1,8 +1,17 @@
# Build # Build
FROM prologic/zs AS build FROM prologic/zs AS build
RUN mkdir -p /src
WORKDIR /src
# Copy content # Copy content
COPY --chown=zs . . COPY . .
# Build the site (in production mode) # 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