8 lines
160 B
Docker
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"]
|