TP-Docker/api-frontend/Dockerfile
2021-10-26 11:17:08 +02:00

8 lines
160 B
Docker

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