From af49359c677e48227e67eb1e5cafe176215c5b37 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Mon, 5 Aug 2024 05:14:52 +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-OPENSSL-6191692 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 83116d0..7919e74 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,11 @@ -FROM python:3.7-alpine as builder +FROM python:3.13.0b4-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.0b4-alpine COPY . /vampi WORKDIR /vampi COPY --from=builder /usr/local/lib /usr/local/lib