Added Docker stuff.
This commit is contained in:
9
Dockerfile
Normal file
9
Dockerfile
Normal file
@@ -0,0 +1,9 @@
|
||||
FROM python:3.9
|
||||
|
||||
COPY app.py /usr/src/portal-webapp/
|
||||
COPY templates /usr/src/portal-webapp/templates
|
||||
WORKDIR /usr/src/portal-webapp
|
||||
|
||||
RUN pip install --no-cache-dir flask flask-dropzone gunicorn
|
||||
|
||||
CMD ["gunicorn", "--bind", "0.0.0.0:80", "-w", "1", "--access-logfile", "-", "app:app"]
|
||||
Reference in New Issue
Block a user