mirror of https://github.com/OpenVidu/openvidu.git
17 lines
555 B
Docker
17 lines
555 B
Docker
![]() |
FROM nginx:1.17.9
|
||
|
|
||
|
# Install certbot
|
||
|
RUN apt update && \
|
||
|
apt install -y python python-dev libffi6 libffi-dev libssl-dev curl build-essential procps && \
|
||
|
curl -L 'https://bootstrap.pypa.io/get-pip.py' | python && \
|
||
|
pip install -U cffi certbot && \
|
||
|
apt remove --purge -y python-dev build-essential libffi-dev libssl-dev curl && \
|
||
|
apt-get autoremove -y && \
|
||
|
apt-get clean && \
|
||
|
rm -rf /var/lib/apt/lists/*
|
||
|
|
||
|
# Entrypoint
|
||
|
COPY ./entrypoint.sh /usr/local/bin
|
||
|
RUN chmod +x /usr/local/bin/entrypoint.sh
|
||
|
|
||
|
CMD /usr/local/bin/entrypoint.sh
|