From a9e6e7ce6fe51c66f15b5a1f2a4b70a591254e57 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 17 Nov 2023 10:47:30 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE313-EXPAT-2342171 - https://snyk.io/vuln/SNYK-ALPINE313-EXPAT-2342172 - https://snyk.io/vuln/SNYK-ALPINE313-EXPAT-2407739 - https://snyk.io/vuln/SNYK-ALPINE313-EXPAT-2407752 - https://snyk.io/vuln/SNYK-ALPINE313-OPENSSL-1569448 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 181d1e6c..47c6edbb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.9.2-alpine3.13 as build +FROM python:3.13-rc-slim as build WORKDIR /wheels RUN apk add --no-cache \ ncurses-dev \ @@ -7,7 +7,7 @@ COPY docker_reqs.txt /opt/osintgram/requirements.txt RUN pip3 wheel -r /opt/osintgram/requirements.txt -FROM python:3.9.2-alpine3.13 +FROM python:3.13-rc-slim WORKDIR /home/osintgram RUN adduser -D osintgram