mirror of
https://git.mills.io/prologic/zs-starter-template.git
synced 2024-11-21 12:56:04 +03:00
Fix Docker image
This commit is contained in:
parent
923eee622e
commit
5a292596ec
13
Dockerfile
13
Dockerfile
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user