Files
panicanparty.net/Dockerfile
Tyler Clarke 037d5cf1f0
All checks were successful
Build / Build-Docker-Image (push) Successful in 43s
PANIC!
2025-04-27 21:28:43 -04:00

25 lines
357 B
Docker

FROM docker.clarkeis.com/sitix:latest AS build
# build the site
RUN mkdir site
COPY site site
RUN ls site
ARG SITIX_ENVIRONMENT="production"
RUN /sitix site -y -c ${SITIX_ENVIRONMENT}
FROM busybox:1.35
# Copy the static website
COPY --from=build /output /output
WORKDIR output
# Run BusyBox httpd
CMD ["busybox", "httpd", "-f", "-v", "-p", "80"]