From 48a58a207d66d68b014016efba28d827b333c4e8 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 10 May 2024 00:37:59 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE319-OPENSSL-6593965 - https://snyk.io/vuln/SNYK-ALPINE319-OPENSSL-6593965 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index cc4ed76..eabf772 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.10-alpine as base +FROM python:3.13.0b1-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.0b1-alpine as run WORKDIR /bot COPY --from=build /bot . ENV JISHAKU_HIDE=1