Dockerfile 373 B

12345678910111213141516171819
  1. FROM python:3.8
  2. LABEL maintainer="Kirk Trombley <ktrom3894@gmail.com>"
  3. STOPSIGNAL SIGTERM
  4. RUN pip3 install gunicorn
  5. WORKDIR /app
  6. COPY urban-centers-non-usa.csv urban-centers-usa.csv ./
  7. COPY requirements.txt ./
  8. RUN pip3 install -r requirements.txt
  9. COPY app.py db.py extra_api.py game_api.py sources.py lib.py ./
  10. CMD gunicorn --workers=1 --bind=0.0.0.0:5000 app:app