TP-Docker/api-frontend/Dockerfile
2021-10-26 09:23:23 +00:00

8 lines
152 B
Docker

FROM python:2.7
ADD api.py /
ENV API_BACKEND_URL=0.0.0.0
ENV API_BACKEND_PORT=8001
EXPOSE 8000
RUN pip install requests flask
CMD [ "python", "api.py"]