From 56cd617ec049b575510a6796378af754b340e3b8 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sun, 14 Apr 2024 19:23:57 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index cc4ed76..7bf5999 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.10-alpine as base +FROM python:3.12.3-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.3-alpine as run WORKDIR /bot COPY --from=build /bot . ENV JISHAKU_HIDE=1