|
@@ -4,16 +4,18 @@ LABEL maintainer "The Infrastructure Company GmbH <info@servercow.de>"
|
|
|
ENV PIP_BREAK_SYSTEM_PACKAGES=1
|
|
|
|
|
|
RUN apk add --no-cache nginx \
|
|
|
- python3 \
|
|
|
- supervisor \
|
|
|
- py3-pip && \
|
|
|
- pip install --upgrade pip && \
|
|
|
- pip install Jinja2 \
|
|
|
+ python3 py3-pip \
|
|
|
+ supervisor
|
|
|
+
|
|
|
+RUN pip install --break-system-packages \
|
|
|
mysql-connector-python \
|
|
|
- redis
|
|
|
+ jinja2 \
|
|
|
+ redis \
|
|
|
+ dnspython
|
|
|
|
|
|
RUN mkdir -p /etc/nginx/includes
|
|
|
|
|
|
+
|
|
|
COPY data/Dockerfiles/bootstrap /bootstrap
|
|
|
COPY data/Dockerfiles/nginx/docker-entrypoint.sh /
|
|
|
COPY data/Dockerfiles/nginx/supervisord.conf /etc/supervisor/supervisord.conf
|
|
@@ -22,4 +24,5 @@ COPY data/Dockerfiles/nginx/stop-supervisor.sh /usr/local/sbin/stop-supervisor.s
|
|
|
RUN chmod +x /docker-entrypoint.sh
|
|
|
RUN chmod +x /usr/local/sbin/stop-supervisor.sh
|
|
|
|
|
|
+
|
|
|
CMD ["/usr/bin/supervisord", "-c", "/etc/supervisor/supervisord.conf"]
|