some site updates
All checks were successful
ClarkeIS Build / Build-Docker-Image (push) Successful in 42s

This commit is contained in:
Lazy Hippopotamus
2025-03-24 20:47:06 -04:00
parent 175efe81d8
commit 853c0775e3
19 changed files with 169 additions and 343 deletions

View File

@@ -1,12 +1,24 @@
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
# Create a non-root user to own the files and run our server
RUN mkdir /static
WORKDIR /static
# Copy the static website
# Use the .dockerignore file to control what ends up inside the image!
COPY . .
COPY --from=build /output /output
WORKDIR output
# Run BusyBox httpd
CMD ["busybox", "httpd", "-f", "-v", "-p", "80"]