mirror of
https://git.mills.io/prologic/zs-starter-template.git
synced 2024-11-24 22:36:04 +03:00
18 lines
201 B
Docker
18 lines
201 B
Docker
# Build
|
|
FROM prologic/zs AS build
|
|
|
|
RUN mkdir -p /src
|
|
|
|
WORKDIR /src
|
|
|
|
# Copy content
|
|
COPY . .
|
|
|
|
# Build the site
|
|
RUN zs build
|
|
|
|
# Runtime
|
|
FROM prologic/static AS runtime
|
|
|
|
COPY --from=build /src/.pub /data
|