mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
16 lines
372 B
Docker
16 lines
372 B
Docker
FROM python:3.13.0-alpine@sha256:c38ead8bcf521573dad837d7ecfdebbc87792202e89953ba8b2b83a9c5a520b6
|
|
|
|
WORKDIR /tmp
|
|
|
|
COPY requirements.txt .
|
|
|
|
RUN MAKEFLAGS="-j $(nproc)" pip install --no-cache-dir --require-hashes --no-deps -r requirements.txt && \
|
|
rm -f requirements.txt
|
|
|
|
WORKDIR /opt/tests
|
|
|
|
COPY main.py .
|
|
|
|
RUN apk add --no-cache curl
|
|
|
|
ENTRYPOINT [ "python3", "main.py" ]
|