From 717537c13cdb07bdd55be544e76a368c28ec6daf Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sun, 14 Apr 2024 22:00:36 +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-EXPAT-6241040 - https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-6032386 - https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-6032386 - https://snyk.io/vuln/SNYK-ALPINE318-SQLITE-6179217 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 83116d0..f0baa11 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,11 @@ -FROM python:3.7-alpine as builder +FROM python:3.12.3-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.12.3-alpine COPY . /vampi WORKDIR /vampi COPY --from=builder /usr/local/lib /usr/local/lib