1
0
mirror of https://github.com/mxpv/podsync.git synced 2024-05-11 05:55:04 +00:00
mxpv-podsync/cmd/nginx/Dockerfile

15 lines
365 B
Docker
Raw Normal View History

2017-10-24 16:57:59 -07:00
FROM nginx:stable-alpine
2017-01-21 11:20:22 -08:00
2017-10-24 16:57:59 -07:00
ADD nginx.conf /etc/nginx/nginx.conf
ADD podsync.conf /etc/nginx/conf.d/podsync.conf
ADD entrypoint.sh /entrypoint.sh
ADD le.sh /le.sh
RUN rm /etc/nginx/conf.d/default.conf && \
chmod +x /entrypoint.sh && \
chmod +x /le.sh && \
apk add --update certbot tzdata openssl && \
rm -rf /var/cache/apk/*
CMD ["/entrypoint.sh"]