mirror of
https://git.mills.io/prologic/zs-starter-template.git
synced 2026-11-07 10:13:01 -08:00
Fix Docker image
This commit is contained in:
1 file changed
+11
-2
+11
-2
@@ -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
|
||||
Reference in new issue
Block a user