Initial commit
This commit is contained in:
5
api-backend/Dockerfile
Normal file
5
api-backend/Dockerfile
Normal file
@@ -0,0 +1,5 @@
|
||||
FROM python:2.7
|
||||
ADD api.py /
|
||||
EXPOSE 8001
|
||||
RUN pip install requests flask
|
||||
CMD [ "python", "api.py"]
|
6
api-backend/Dockerfile~
Normal file
6
api-backend/Dockerfile~
Normal file
@@ -0,0 +1,6 @@
|
||||
FROM python:2.7
|
||||
ADD api.py /
|
||||
EXPOSE 8001
|
||||
RUN apt update
|
||||
RUN pip install requests flask
|
||||
CMD [ "python", "api.py"]
|
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python2.7
|
||||
#!/usr/local/bin/python2.7
|
||||
# coding: utf-8
|
||||
# Author : Alexandre Jauneau
|
||||
|
||||
|
Reference in New Issue
Block a user