Dockerfile 231 B

123456789101112131415
  1. FROM python:3.6.8-alpine3.8
  2. RUN apk add --no-cache python3-dev \
  3. && pip3 install --upgrade pip
  4. WORKDIR /app
  5. COPY . /app
  6. RUN pip3 --no-cache-dir install -r requirements.txt
  7. EXPOSE 5000
  8. ENTRYPOINT ["python3"]
  9. CMD ["run.py"]