From 6f1a6d394471e7474986b7f9a51d0ea62a4e28f1 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 23 Feb 2022 00:51:07 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE315-EXPAT-2393733 - https://snyk.io/vuln/SNYK-ALPINE315-EXPAT-2393735 - https://snyk.io/vuln/SNYK-ALPINE315-UTILLINUX-2393739 - https://snyk.io/vuln/SNYK-ALPINE315-UTILLINUX-2393741 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7ae2702..e589ed5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3-alpine as base +FROM python:3.11.0a5-alpine as base RUN mkdir /install @@ -8,7 +8,7 @@ COPY requirements.txt /requirements.txt RUN pip install --prefix=/install -r /requirements.txt -FROM python:3-alpine +FROM python:3.11.0a5-alpine COPY --from=base /install /usr/local