Commit 764df175 authored by Artem Baranovskyi's avatar Artem Baranovskyi
Browse files

Image build is optimized.

parent 22846c84
Pipeline #10605 failed with stage
in 1 minute and 5 seconds
......@@ -15,6 +15,7 @@ WORKDIR /app
COPY . /app
# Install dependencies in separate steps to reduce memory usage
RUN apk add --no-cache gcompat
RUN /opt/myenv/bin/pip install torch && \
rm -rf /root/.cache/pip \
RUN /opt/myenv/bin/pip install Flask && \
......
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