added more pip upgrades

This commit is contained in:
jadera
2025-11-20 00:59:30 +02:00
parent 91ee3bea6d
commit d0557ffb79
2 changed files with 4 additions and 1 deletions
+2 -1
View File
@@ -27,11 +27,11 @@ audit:
- pushes
needs: []
before_script:
- pip install --upgrade pip
- pip install poetry==2.1.1
- poetry config virtualenvs.create false
- poetry install --no-interaction --no-ansi
script:
- pip install --upgrade pip
- safety check
test:
@@ -49,6 +49,7 @@ test:
DATABASE_URL: "postgresql://postgres:postgres@postgres:5432/$POSTGRES_DB"
DB_HOST: postgres
before_script:
- pip install --upgrade pip
- pip install poetry==2.1.1
- poetry config virtualenvs.create false
- poetry install --no-interaction --no-ansi
+2
View File
@@ -4,6 +4,7 @@ COPY . ./
ENV POETRY_VERSION=2.1.1
RUN pip install --upgrade pip
RUN pip install "poetry==$POETRY_VERSION"
RUN poetry self add poetry-plugin-export
RUN poetry export --without-hashes --format=requirements.txt --output requirements.txt
@@ -23,6 +24,7 @@ ENV PYTHONUNBUFFERED=1 \
PIP_DEFAULT_TIMEOUT=100
RUN apt-get update && apt-get install --no-install-recommends -y build-essential
RUN pip install --upgrade pip
RUN pip install --no-deps -r requirements.txt
RUN python manage.py collectstatic --noinput