openvidu/openvidu-server/docker/openvidu-proxy/Dockerfile

20 lines
453 B
Docker
Raw Normal View History

2020-04-28 15:53:56 +02:00
FROM nginx:1.18.0-alpine
2020-03-24 17:18:37 +01:00
# Install certbot
2020-04-28 15:53:56 +02:00
RUN apk update && \
apk add certbot && \
apk add openssl && \
2020-04-29 10:25:18 +02:00
apk add apache2-utils && \
2020-04-28 15:53:56 +02:00
rm -rf /var/cache/apk/*
2020-03-24 17:18:37 +01:00
# Default nginx conf
COPY ./default.conf /etc/nginx/conf.d/default.conf
COPY ./default_nginx_conf /default_nginx_conf
2020-03-24 17:18:37 +01:00
# Entrypoint
COPY ./entrypoint.sh /usr/local/bin
2020-04-28 15:53:56 +02:00
RUN mkdir -p /var/www/certbot && \
chmod +x /usr/local/bin/entrypoint.sh
2020-03-24 17:18:37 +01:00
2020-04-28 15:53:56 +02:00
CMD /usr/local/bin/entrypoint.sh