No Description

Dockerfile 257B

123456789101112
  1. FROM python:3.6
  2. ENV FLASK_APP run.py
  3. COPY run.py gunicorn.py requirements-sqlite.txt config.py .env ./
  4. COPY app app
  5. COPY migrations migrations
  6. RUN pip install -r requirements-sqlite.txt
  7. EXPOSE 5000
  8. CMD ["gunicorn", "--config", "gunicorn.py", "run:app"]