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