Commit 096c6ded authored by Artem Baranovskyi's avatar Artem Baranovskyi
Browse files

Image build is optimized.

parent 8d3941a6
Pipeline #10609 failed with stage
in 3 minutes and 53 seconds
...@@ -2,10 +2,10 @@ ...@@ -2,10 +2,10 @@
FROM python:3.10-slim AS builder FROM python:3.10-slim AS builder
# Install system dependencies # Install system dependencies
RUN apk add --no-cache \ RUN apt-get update && apt-get install -y --no-install-recommends \
build-base \ build-essential \
python3-dev \ python3-venv \
py3-virtualenv && rm -rf /var/lib/apt/lists/*
# Create and activate virtual environment # Create and activate virtual environment
RUN python3 -m venv /opt/myenv RUN python3 -m venv /opt/myenv
......
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