10 lines
283 B
Docker
10 lines
283 B
Docker
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"]
|