Skip to content

Commit

Permalink
fix: python:3.11-alpine vulnerabilities (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
vladisavvv authored Nov 13, 2023
1 parent 34cad7d commit 16f15f6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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.
Expand Down

0 comments on commit 16f15f6

Please sign in to comment.