From fafa23927edc386e6f45986c1452cd389738f589 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sat, 7 Sep 2024 08:50:32 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE320-EXPAT-7908298 - https://snyk.io/vuln/SNYK-ALPINE320-EXPAT-7908299 - https://snyk.io/vuln/SNYK-ALPINE320-EXPAT-7908300 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index cc4ed76..7c8d1fa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.10-alpine as base +FROM python:3.12.0a1-alpine as base RUN python3 -m pip install poetry RUN python3 -m poetry config virtualenvs.in-project true FROM base as build @@ -8,7 +8,7 @@ RUN apk update RUN apk add --no-cache make gcc linux-headers build-base RUN python3 -m poetry install RUN apk del gcc linux-headers build-base -FROM python:3.10-alpine as run +FROM python:3.12.0a1-alpine as run WORKDIR /bot COPY --from=build /bot . ENV JISHAKU_HIDE=1