Files
OutFleet/Dockerfile
Alexandr Bogomyakov e22b26b1aa
All checks were successful
Docker hub build / docker (push) Successful in 2m51s
Update Dockerfile
2025-03-17 15:09:36 +02:00

12 lines
259 B
Docker

FROM python:3-alpine
WORKDIR /app
COPY ./requirements.txt .
RUN apk update && apk add git && 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" ]