Files
swaous.asuscomm.com/Dockerfile
Tyler Clarke 867be2b817
All checks were successful
Swaous.Asuscomm Build / Build-Docker-Image (push) Successful in 2m35s
adding back some stuff from old server
2025-02-13 13:27:23 -05:00

20 lines
338 B
Docker

FROM swaous.asuscomm.com/sitix:latest AS build
# build the site
RUN mkdir site
COPY . 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"]