Initial commit

This commit is contained in:
2021-10-26 11:17:08 +02:00
parent 7e6a943bfe
commit 41b4852cbf
9 changed files with 51 additions and 2 deletions

5
api-backend/Dockerfile Normal file
View 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
View 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"]

View File

@@ -1,4 +1,4 @@
#!/usr/bin/python2.7
#!/usr/local/bin/python2.7
# coding: utf-8
# Author : Alexandre Jauneau