mirror of
https://git.mills.io/prologic/zs-starter-template.git
synced 2024-11-19 02:46:10 -05:00
18 lines
221 B
Docker
18 lines
221 B
Docker
# Build
|
|
FROM prologic/zs AS build
|
|
|
|
RUN mkdir -p /src
|
|
|
|
WORKDIR /src
|
|
|
|
# Copy content
|
|
COPY . .
|
|
|
|
# Build the site (in production mode)
|
|
RUN zs -p build
|
|
|
|
# Runtime
|
|
FROM prologic/zs AS runtime
|
|
|
|
COPY --from=build /src/.pub /data
|