From 08b2069809e7e799add6acd934a5cf92d4c4a0b6 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 15 Mar 2024 18:03:11 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE319-EXPAT-6241037 - https://snyk.io/vuln/SNYK-ALPINE319-EXPAT-6241038 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index cc4ed76..d501255 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.10-alpine as base +FROM python:3.13.0a4-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.13.0a4-alpine as run WORKDIR /bot COPY --from=build /bot . ENV JISHAKU_HIDE=1