Initial commit

This commit is contained in:
Ataxya 2021-10-26 11:19:34 +02:00
parent 41b4852cbf
commit 50c585bf08
4 changed files with 0 additions and 24 deletions

View File

@ -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"]

View File

@ -1 +0,0 @@

View File

@ -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"]

View File

@ -1,10 +0,0 @@
version: "3.3"
services:
backend:
build: api-backend/
ports:
- "8001:8001"
front-end:
build: api-frontend/
ports:
- "8000:8000"