Skip to content

Commit

Permalink
Update python.Dockerfile
Browse files Browse the repository at this point in the history
Signed-off-by: Zoey <zoey@z0ey.de>
  • Loading branch information
Zoey2936 authored Sep 17, 2024
1 parent efeabea commit 21c24f0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion python.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ COPY --from=zoeyvid/nginx-quic:latest /usr/local/modsecurity/lib/libmodsecurity.
RUN apk upgrade --no-cache -a && \
apk add --no-cache ca-certificates tzdata tini zlib luajit pcre2 libstdc++ yajl libxml2 libxslt libcurl lmdb libfuzzy2 lua5.1-libs geoip libmaxminddb-libs && \
ln -s /usr/local/nginx/sbin/nginx /usr/local/bin/nginx && \
ln -s /usr/local/openssl/.openssl/bin/openssl /usr/local/bin/openssl
ln -s /usr/local/openssl/.openssl/bin/openssl /usr/local/bin/openssl && \
find /usr/local -exec file {} \; | grep "not stripped"

ENV OPENSSL_CONF=/usr/local/openssl/.openssl/openssl.cnf
ENTRYPOINT ["tini", "--", "nginx"]
CMD ["-g", "daemon off;"]
Expand Down

0 comments on commit 21c24f0

Please sign in to comment.