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

View File

@@ -0,0 +1 @@

7
api-frontend/Dockerfile Normal file
View File

@@ -0,0 +1,7 @@
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"]

7
api-frontend/Dockerfile~ Normal file
View File

@@ -0,0 +1,7 @@
FROM python:2.7
ADD api.py /
ENV API_BACKEND_URL=127.0.0.1
ENV API_BACKEND_PORT=8001
EXPOSE 8000
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