moneropro/Dockerfile
Kumi 1b73d9f8b9
Some checks are pending
Docker / build (push) Waiting to run
chore(Dockerfile): update base image to python:3.12-slim
Switch to a lighter, more recent Python 3.12-slim base image to reduce image size and leverage the latest Python features and improvements. This change removes the need for additional locale configuration, simplifying the Dockerfile.
2024-11-12 14:49:33 +01:00

13 lines
204 B
Docker

FROM python:3.12-slim
WORKDIR src
COPY requirements.txt requirements.txt
RUN pip install -r requirements.txt
COPY app/ app/
WORKDIR /src/app
CMD ["python", "manage.py", "runserver", "0.0.0.0:8000"]