mirror of
https://github.com/wolfswolke/DeathGarden_API_Rebirth.git
synced 2026-08-19 23:54:00 -05:00
cleanup Dockerfile
This commit is contained in:
12
Dockerfile
12
Dockerfile
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user