felia/.nginx/nginx/Dockerfile

14 lines
308 B
Docker
Raw Normal View History

2022-09-27 09:39:23 +00:00
FROM nginx:1.23-alpine
RUN apk add --no-cache openssl
COPY default.conf /etc/nginx/conf.d/
COPY gzip.conf options-ssl-nginx.conf hsts.conf /etc/nginx/includes/
COPY site.conf.tpl /customization/
COPY nginx.sh /customization/
RUN chmod +x /customization/nginx.sh
EXPOSE 80
CMD ["/customization/nginx.sh"]