|
@@ -0,0 +1,17 @@
|
|
|
+FROM python:3.8
|
|
|
+
|
|
|
+LABEL maintainer="Kirk Trombley <ktrom3894@gmail.com>"
|
|
|
+
|
|
|
+STOPSIGNAL SIGTERM
|
|
|
+
|
|
|
+RUN pip3 install gunicorn
|
|
|
+
|
|
|
+WORKDIR /app
|
|
|
+
|
|
|
+COPY requirements.txt ./
|
|
|
+
|
|
|
+RUN pip3 install -r requirements.txt
|
|
|
+
|
|
|
+COPY app.py db.py extra_api.py game_api.py lib.py ./
|
|
|
+
|
|
|
+CMD gunicorn --workers=1 --bind=0.0.0.0:5000 app:app
|