Replacing the placeholder API with a real one.
This commit is contained in:
14
api/Dockerfile
Normal file
14
api/Dockerfile
Normal 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"]
|
||||
|
||||
Reference in New Issue
Block a user