FROM python:3.11-slim WORKDIR /app RUN pip install --upgrade pip COPY requirements.txt /app RUN pip install --no-cache-dir -r requirements.txt RUN pip install --upgrade gunicorn COPY . /app # Collect static files for WhiteNoise RUN python manage.py collectstatic --noinput CMD ["gunicorn", "seduttomachineworks_project.wsgi:application", "--bind", "0.0.0.0:8000"]