Files
mail-management/Dockerfile

19 lines
307 B
Docker

FROM python:3.13-slim
WORKDIR /app
COPY requirements.txt /app/
# Install dependencies
RUN pip install --upgrade pip \
&& pip install -r requirements.txt \
&& pip install gunicorn
# Copy the rest of the project
COPY . /app/
EXPOSE 8000
CMD ["python", "manage.py", "runserver", "0.0.0.0:8000"]