6 lines
112 B
Docker
6 lines
112 B
Docker
FROM python:2.7
|
|
ADD api.py /
|
|
EXPOSE 8001
|
|
RUN apt update
|
|
RUN pip install requests flask
|
|
CMD [ "python", "api.py"] |