Replacing the placeholder API with a real one.

This commit is contained in:
2020-04-15 19:37:21 +02:00
parent 9299419941
commit 50a4c09c3c
5 changed files with 180 additions and 9 deletions

14
api/Dockerfile Normal file
View File

@@ -0,0 +1,14 @@
FROM python:3
ENV PYTHONUNBUFFERED=1
ENV PYTHONDONTWRITEBYTECODE=1
ENV PORT 8080
ENV FLASK_APP app.py
WORKDIR /app
COPY . /app
RUN pip install --no-cache -r requirements.txt
CMD ["flask", "run", "-h", "0.0.0.0", "-p", "8080"]