zs-starter-template/Dockerfile

18 lines
221 B
Docker
Raw Normal View History

# Build
FROM prologic/zs AS build
2024-08-25 08:58:07 +03:00
RUN mkdir -p /src
WORKDIR /src
# Copy content
2024-08-25 08:58:07 +03:00
COPY . .
2023-04-01 05:13:39 +03:00
# Build the site (in production mode)
2024-08-25 08:58:07 +03:00
RUN zs -p build
# Runtime
FROM prologic/zs AS runtime
COPY --from=build /src/.pub /data