Files
sitix-website/Dockerfile
admin e014afbab4
All checks were successful
sitix website build / Build-Docker-Image (push) Successful in 25s
fix maybe
still cool
2025-02-26 21:30:14 +00:00

24 lines
350 B
Docker

FROM swaous.asuscomm.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 /sitix
WORKDIR /
# Run BusyBox httpd
CMD ["busybox", "httpd", "-f", "-v", "-p", "80"]