django-weather/Dockerfile

15 lines
222 B
Docker
Raw Permalink Normal View History

2025-04-01 13:20:23 +00:00
2025-04-01 00:03:23 +00:00
FROM python:3.11-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
ENV PYTHONUNBUFFERED=1
CMD ["python", "weather_project/manage.py", "runserver", "0.0.0.0:8000"]