File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,6 @@ RUN /proxy/venv/bin/pip install --no-compile --no-cache-dir \
33
33
--find-links file:/// \
34
34
proxy.py && \
35
35
rm *.whl && \
36
- if [[ -z "$SKIP_OPENSSL" ]]; then apk update && apk --no-cache add openssl; fi && \
37
36
find . -type d -name '__pycache__' | xargs rm -rf && \
38
37
rm -rf /var/cache/apk/* && \
39
38
rm -rf /root/.cache/ && \
@@ -43,6 +42,12 @@ RUN /proxy/venv/bin/pip install --no-compile --no-cache-dir \
43
42
FROM python:3.11-alpine
44
43
COPY --from=builder /README.md /README.md
45
44
COPY --from=builder /proxy /proxy
45
+ RUN if [[ -z "$SKIP_OPENSSL" ]]; then \
46
+ apk update && \
47
+ apk --no-cache add openssl && \
48
+ rm -rf /var/cache/apk/* && \
49
+ rm -rf /root/.cache/; \
50
+ fi
46
51
ENV PATH="/proxy/venv/bin:${PATH}"
47
52
EXPOSE 8899/tcp
48
53
ENTRYPOINT [ "proxy" ]
You can’t perform that action at this time.
0 commit comments