From 7016fa523eacdda258219937ece4272f50a51bf3 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sun, 4 Aug 2024 04:32:32 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE318-EXPAT-6241039 - https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-6032386 - https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-6032386 - https://snyk.io/vuln/SNYK-ALPINE318-SQLITE-6179217 - https://snyk.io/vuln/SNYK-ALPINE318-BUSYBOX-7249265 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 83116d0..7c9e38f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,11 @@ -FROM python:3.7-alpine as builder +FROM python:3.13.0rc1-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.0rc1-alpine COPY . /vampi WORKDIR /vampi COPY --from=builder /usr/local/lib /usr/local/lib