Kumi
1b73d9f8b9
Some checks are pending
Docker / build (push) Waiting to run
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.
13 lines
204 B
Docker
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"]
|