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 31e4802 commit 41e818a
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions python.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,9 @@ COPY --from=zoeyvid/nginx-quic:latest /usr/local/nginx
COPY --from=zoeyvid/nginx-quic:latest /usr/local/openssl/.openssl /usr/local/openssl/.openssl
COPY --from=zoeyvid/nginx-quic:latest /usr/local/modsecurity/lib/libmodsecurity.so.3 /usr/local/modsecurity/lib/libmodsecurity.so.3
RUN apk upgrade --no-cache -a && \
apk add --no-cache ca-certificates tzdata tini file \
zlib luajit pcre2 libstdc++ yajl libxml2 libxslt libcurl lmdb libfuzzy2 lua5.1-libs geoip libmaxminddb-libs && \
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 && \
find /usr/local -exec file {} \; | grep "not stripped" && \
apk del --no-cache file
ln -s /usr/local/openssl/.openssl/bin/openssl /usr/local/bin/openssl

ENV OPENSSL_CONF=/usr/local/openssl/.openssl/openssl.cnf
ENTRYPOINT ["tini", "--", "nginx"]
Expand Down

0 comments on commit 41e818a

Please sign in to comment.