Files
avrahamsociety/Dockerfile
Tyler Clarke 476aa21160
All checks were successful
avraham dev build / Build-Docker-Image (push) Successful in 32s
fix dockerfile
2025-04-29 18:08:53 -04:00

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