Dockerfile 277 B

12345678910111213
  1. FROM python:3.12.3
  2. WORKDIR /app
  3. ADD . /app
  4. RUN apt-get update -y && \
  5. apt-get install -y --no-install-recommends gcc build-essential && \
  6. rm -rf /var/lib/apt/lists/*
  7. RUN pip install -r requirements.txt
  8. CMD ["gunicorn", "--bind", "0.0.0.0:$PORT", "run:application"]