Initial commit
This commit is contained in:
parent
41b4852cbf
commit
50c585bf08
|
@ -1,6 +0,0 @@
|
||||||
FROM python:2.7
|
|
||||||
ADD api.py /
|
|
||||||
EXPOSE 8001
|
|
||||||
RUN apt update
|
|
||||||
RUN pip install requests flask
|
|
||||||
CMD [ "python", "api.py"]
|
|
|
@ -1 +0,0 @@
|
||||||
|
|
|
@ -1,7 +0,0 @@
|
||||||
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"]
|
|
|
@ -1,10 +0,0 @@
|
||||||
version: "3.3"
|
|
||||||
services:
|
|
||||||
backend:
|
|
||||||
build: api-backend/
|
|
||||||
ports:
|
|
||||||
- "8001:8001"
|
|
||||||
front-end:
|
|
||||||
build: api-frontend/
|
|
||||||
ports:
|
|
||||||
- "8000:8000"
|
|
Loading…
Reference in New Issue
Block a user