1
Fork 0
slides/Dockerfile

19 lines
421 B
Docker
Raw Permalink Normal View History

2024-06-26 19:58:27 +01:00
FROM alpine
2024-03-03 17:45:52 +00:00
RUN apk add --no-cache nginx gettext nginx-mod-http-brotli nginx-mod-http-dav-ext nginx-mod-http-js apache2-utils
2024-03-03 17:45:52 +00:00
RUN mkdir -p /run/nginx
RUN htpasswd -b -c /etc/nginx/.htpasswd user password
COPY ./nginx.conf /etc/nginx/http.d/default.conf
COPY ./slides.js /etc/nginx/slides.js
COPY ./docker-entrypoint.sh /docker-entrypoint.sh
ENV PUID 1000
EXPOSE 80
STOPSIGNAL SIGKILL
CMD ["/docker-entrypoint.sh"]