mirror of
https://github.com/mxpv/podsync.git
synced 2024-05-11 05:55:04 +00:00
15 lines
365 B
Docker
15 lines
365 B
Docker
FROM nginx:stable-alpine
|
|
|
|
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"] |