Dockerfile 208 B

12345678910111213
  1. FROM python:3-alpine
  2. RUN apk add build-base
  3. WORKDIR /var/www/app
  4. COPY requirements.txt ./
  5. RUN pip install --no-cache-dir -r requirements.txt
  6. COPY . .
  7. WORKDIR /var/www/app/src
  8. CMD ["gunicorn", "wsgi:app"]