Files
Eric Ireland b200459d8d Prepare snacforge 2.95-sf.1 for release
Add executable regression and sanitizer checks, a hardened release profile, CI, fork security and update policies, release notes, and ephemeral Docker development certificates.

Assisted-by: OpenAI Codex (GPT-5)

Reviewed-by: Eric Ireland
2026-09-11 11:51:23 +10:00

13 lines
402 B
Docker

FROM alpine
RUN apk add --no-cache nginx openssl
RUN mkdir -p /run/nginx
ADD default.conf /etc/nginx/http.d/default.conf
ADD *.pem /etc/ssl/private/
WORKDIR /var/www/localhost/htdocs
COPY entrypoint.sh /usr/local/bin
RUN chmod +x /usr/local/bin/entrypoint.sh
ENTRYPOINT ["/bin/sh", "/usr/local/bin/entrypoint.sh"]
#EXPOSE 80
EXPOSE 443
CMD ["/bin/sh", "-c", "nginx -g 'daemon off;'; nginx -s reload;"]