Enforcing some SSL configurations
This commit is contained in:
parent
18f799c2c3
commit
076a51d143
9 changed files with 75 additions and 35 deletions
15
Dockerfile
15
Dockerfile
|
|
@ -2,20 +2,17 @@ FROM alpine:3.16
|
|||
|
||||
WORKDIR /scripts
|
||||
|
||||
RUN apk add --no-cache haproxy bash python3 py3-pip py-yaml supervisor docker certbot \
|
||||
&& ln -s /usr/bin/python3 /usr/bin/python
|
||||
|
||||
COPY requirements.txt /scripts
|
||||
|
||||
RUN pip3 install --upgrade pip \
|
||||
&& pip install -r requirements.txt
|
||||
|
||||
COPY templates /scripts/templates/
|
||||
COPY easymapping /scripts/easymapping/
|
||||
COPY tests/ /scripts/tests/
|
||||
|
||||
COPY assets /
|
||||
|
||||
RUN pytest -s tests/
|
||||
RUN apk add --no-cache haproxy bash python3 py3-pip py-yaml supervisor docker certbot openssl \
|
||||
&& ln -s /usr/bin/python3 /usr/bin/python \
|
||||
&& pip3 install --upgrade pip \
|
||||
&& pip install -r requirements.txt \
|
||||
&& pytest -s tests/ \
|
||||
&& openssl dhparam -out /etc/haproxy/dhparam 2048
|
||||
|
||||
CMD ["/usr/bin/supervisord", "-n", "-c", "/etc/supervisord.conf" ]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue