absolutely destroy this beautiful static html file by converting it to a slightly more dynamic flask app + docker container
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
2023-03-10 11:58:21 +01:00
parent 95037c0f82
commit af0eb90e42
11 changed files with 660 additions and 212 deletions

10
Dockerfile Normal file
View File

@ -0,0 +1,10 @@
FROM python:3.9-alpine
RUN pip install pipenv && pip install gunicorn==20.1.0 eventlet==0.30.2
WORKDIR /app
COPY . /app
RUN pipenv install --system
CMD ["gunicorn", "-k", "eventlet", "-w", "1", "-b", "0.0.0.0:5000", "app:app"]