File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -24,13 +24,12 @@ RUN apt-get update && \
2424
2525ADD . /src
2626WORKDIR /src
27- RUN python3 setup.py sdist && \
28- mv dist/ /tmp/thumbor_dist
27+ RUN python3 setup.py sdist
2928
3029RUN python3 -m venv /home/thumbor/venv
3130ENV PATH="/home/thumbor/venv/bin:$PATH"
3231
33- RUN pip3 install --no-cache-dir --find-links=/tmp/thumbor_dist thumbor[all]== ${THUMBOR_VERSION}
32+ RUN pip3 install --no-cache-dir /src/dist/ thumbor- ${THUMBOR_VERSION}.tar.gz pycurl
3433
3534FROM python:${PYTHON_VERSION}-slim-bullseye AS runner-image
3635
@@ -54,4 +53,4 @@ ENV PYTHONUNBUFFERED=1
5453ENV VIRTUAL_ENV=/home/thumbor/venv
5554ENV PATH="/home/thumbor/venv/bin:$PATH"
5655
57- ENTRYPOINT ["thumbor" ]
56+ ENTRYPOINT ["thumbor" , "--use-environment=true" ]
You can’t perform that action at this time.
0 commit comments