Skip to content

Commit 16f15f6

Browse files
authored
fix: python:3.11-alpine vulnerabilities (#19)
1 parent 34cad7d commit 16f15f6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
FROM python:3.11-alpine as builder
22

3+
RUN apk update && apk upgrade --no-cache libcrypto3 libssl3
34
RUN pip install poetry
45

56
WORKDIR /app
@@ -14,6 +15,8 @@ RUN poetry install --no-interaction --no-ansi --no-cache --only main
1415

1516
FROM python:3.11-alpine as server
1617

18+
RUN apk update && apk upgrade --no-cache libcrypto3 libssl3
19+
1720
WORKDIR /app
1821

1922
# Copy the sources and virtual env. No poetry.

0 commit comments

Comments
 (0)