mirror of
https://github.com/wolfswolke/DeathGarden_API_Rebirth.git
synced 2026-03-21 17:54:09 -05:00
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE318-EXPAT-6446356
17 lines
372 B
Docker
17 lines
372 B
Docker
FROM python:3.13.0a5-alpine3.18
|
|
|
|
RUN apk upgrade && apk add curl && apk upgrade busybox # CVE-2022-48174
|
|
|
|
COPY . /app
|
|
COPY requirements.txt /app/src/requirements.txt
|
|
|
|
WORKDIR /app/src
|
|
|
|
RUN pip install --upgrade pip && pip install -r requirements.txt
|
|
|
|
EXPOSE 8080
|
|
|
|
HEALTHCHECK CMD curl --fail http://localhost:8080/api/v1/healthcheck
|
|
|
|
ENTRYPOINT ["python", "start_app.py"]
|