set up gitea pipeline
All checks were successful
sitix website build / Build-Docker-Image (push) Successful in 34s

This commit is contained in:
Lazy Hippopotamus
2025-02-26 16:08:36 -05:00
parent 3b287b7294
commit 8722352670
2 changed files with 44 additions and 0 deletions

24
Dockerfile Normal file
View File

@@ -0,0 +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
# Copy the static website
COPY --from=build /output /output
WORKDIR output
# Run BusyBox httpd
CMD ["busybox", "httpd", "-f", "-v", "-p", "80"]