From aaf19df99326ef45ac7d57c61d3602174bdb0389 Mon Sep 17 00:00:00 2001 From: Vladislav Vishnevsky Date: Mon, 13 Nov 2023 16:19:14 +0100 Subject: [PATCH] fix: python:3.11-alpine vulnerabilities --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 1a68033..bb63245 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,6 @@ FROM python:3.11-alpine as builder +RUN apk update && apk upgrade --no-cache libcrypto3 libssl3 RUN pip install poetry WORKDIR /app @@ -14,6 +15,8 @@ RUN poetry install --no-interaction --no-ansi --no-cache --only main FROM python:3.11-alpine as server +RUN apk update && apk upgrade --no-cache libcrypto3 libssl3 + WORKDIR /app # Copy the sources and virtual env. No poetry.