Files
sitix-website/Dockerfile
admin b8e41288d9
Some checks failed
sitix website build / Build-Docker-Image (push) Failing after 22s
update serve target to /sitix to appease httpd
it's pretty cool how I can do this from my phone
2025-02-26 21:28:28 +00:00

24 lines
360 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 -o sitix -c ${SITIX_ENVIRONMENT}
FROM busybox:1.35
# Copy the static website
COPY --from=build /output /output
WORKDIR /
# Run BusyBox httpd
CMD ["busybox", "httpd", "-f", "-v", "-p", "80"]