cleanup Dockerfile

This commit is contained in:
muchasxmaracas
2024-01-31 17:07:35 +01:00
committed by GitHub
parent 840bd3ff53
commit 43d7da3ac5

View File

@@ -1,19 +1,13 @@
FROM python:3.13.0a3-alpine3.18
RUN apk upgrade && apk add curl && apk upgrade busybox # CVE-2022-48174
COPY . /app
COPY requirements.txt /app/src
WORKDIR /app/src
RUN pip install --upgrade pip
RUN pip install -r requirements.txt
RUN apk add curl
RUN apk upgrade busybox # CVE-2022-48174
RUN apk upgrade
RUN pip install --upgrade pip && pip install -r requirements.txt
EXPOSE 8080