File tree Expand file tree Collapse file tree 1 file changed +17
-13
lines changed Expand file tree Collapse file tree 1 file changed +17
-13
lines changed Original file line number Diff line number Diff line change @@ -49,19 +49,23 @@ COPY --from=build /app/full /app
4949
5050WORKDIR /app
5151
52- RUN apt-get update \
53- && apt-get install -y \
54- git \
55- python3 \
56- python3-pip \
57- && pip install --upgrade pip setuptools wheel \
58- && pip install -r requirements.txt \
59- && apt autoremove -y \
60- && apt clean -y \
61- && rm -rf /tmp/* /var/tmp/* \
62- && find /var/cache/apt/archives /var/lib/apt/lists -not -name lock -type f -delete \
63- && find /var/cache -type f -delete
64-
52+ RUN apt-get update && \
53+ apt-get install -y \
54+ git \
55+ python3 \
56+ python3-pip \
57+ python3-venv && \
58+ python3 -m venv /opt/venv && \
59+ . /opt/venv/bin/activate && \
60+ pip install --upgrade pip setuptools wheel && \
61+ pip install -r requirements.txt && \
62+ apt autoremove -y && \
63+ apt clean -y && \
64+ rm -rf /tmp/* /var/tmp/* && \
65+ find /var/cache/apt/archives /var/lib/apt/lists -not -name lock -type f -delete && \
66+ find /var/cache -type f -delete
67+
68+ ENV PATH="/opt/venv/bin:$PATH"
6569
6670ENTRYPOINT ["/app/tools.sh" ]
6771
You can’t perform that action at this time.
0 commit comments