adding back some stuff from old server
All checks were successful
Swaous.Asuscomm Build / Build-Docker-Image (push) Successful in 2m35s

This commit is contained in:
2025-02-13 13:27:23 -05:00
parent a4ec676804
commit 867be2b817
45 changed files with 12632 additions and 17 deletions

View File

@@ -1,12 +1,19 @@
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
# 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"]