Dockerfile 251 B

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