Dockerfile 323 B

1234567891011121314151617
  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 requirements.txt ./
  7. RUN pip3 install -r requirements.txt
  8. COPY app.py db.py extra_api.py game_api.py lib.py urban_centers.csv ./
  9. CMD gunicorn --workers=1 --bind=0.0.0.0:5000 app:app