Files
OutFleet/Dockerfile
Alexandr Bogomyakov 72f59563f5
All checks were successful
Docker hub build / docker (push) Successful in 2m54s
Bump python base image
2025-03-17 14:42:10 +02:00

12 lines
223 B
Docker

FROM python:3
WORKDIR /app
COPY ./requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
RUN python manage.py collectstatic --noinput
CMD [ "python", "./manage.py", "runserver", "0.0.0.0:8000" ]