Skip to content

Commit f06092c

Browse files
author
Sean Sullivan
committed
Pin uvicorn and gunicorn and set ciphers
1 parent aeabfc5 commit f06092c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ COPY --from=builder /build/dist/*.whl /home/datashader/tmp/
2323
ENV PATH="$PATH:/home/datashader/.local/bin"
2424
RUN pip install --upgrade pip && \
2525
pip install --no-cache-dir /home/datashader/tmp/*.whl && \
26-
pip install gunicorn && \
27-
pip install uvicorn
26+
pip install gunicorn==20.1.0 && \
27+
pip install uvicorn==0.22.0
2828

2929
COPY deployment/logging_config.yml /opt/elastic_datashader/
3030
COPY deployment/gunicorn_config.py /opt/elastic_datashader/
@@ -34,7 +34,8 @@ ENV DATASHADER_CACHE_DIRECTORY=/opt/elastic_datashader/tms-cache
3434

3535

3636
ENTRYPOINT [ "gunicorn", \
37-
"--ciphers","!SHA:!SHA256:!CHACHA20:!AESCCM:!ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384", \
37+
"--ssl-version","TLSv1_2", \
38+
"--ciphers","ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384", \
3839
"--chdir", "/opt/elastic_datashader", \
3940
"-c", "/opt/elastic_datashader/gunicorn_config.py", \
4041
"--max-requests", "40", \

0 commit comments

Comments
 (0)