From a1a52f7e6f400da97f60443f98a6b5a2f16a8176 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 4 Oct 2024 06:50:59 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE318-EXPAT-7908292 - https://snyk.io/vuln/SNYK-ALPINE318-EXPAT-7908293 - https://snyk.io/vuln/SNYK-ALPINE318-EXPAT-7908294 - https://snyk.io/vuln/SNYK-ALPINE318-EXPAT-6241039 - https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-6032386 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 83116d0..86ccee9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,11 @@ -FROM python:3.7-alpine as builder +FROM python:3.13.0rc2-alpine as builder RUN apk --update add bash nano g++ COPY . /vampi WORKDIR /vampi RUN pip install -r requirements.txt # Build a fresh container, copying across files & compiled parts -FROM python:3.7-alpine +FROM python:3.13.0rc2-alpine COPY . /vampi WORKDIR /vampi COPY --from=builder /usr/local/lib /usr/local/lib