Commit 875b282c authored by Artem Baranovskyi's avatar Artem Baranovskyi
Browse files

Image build is optimized.

parent 764df175
Pipeline #10606 failed with stage
in 2 minutes and 32 seconds
......@@ -16,7 +16,7 @@ COPY . /app
# Install dependencies in separate steps to reduce memory usage
RUN apk add --no-cache gcompat
RUN /opt/myenv/bin/pip install torch && \
RUN /opt/myenv/bin/pip install torch --index-url https://download.pytorch.org/whl/cpu && \
rm -rf /root/.cache/pip \
RUN /opt/myenv/bin/pip install Flask && \
rm -rf /root/.cache/pip
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment