From 50c585bf089e860fcff1392a2db4a7b1c73dfdf9 Mon Sep 17 00:00:00 2001 From: Ataxya Date: Tue, 26 Oct 2021 11:19:34 +0200 Subject: [PATCH] Initial commit --- api-backend/Dockerfile~ | 6 ------ api-frontend/#Dockerfile# | 1 - api-frontend/Dockerfile~ | 7 ------- docker-compose.yml~ | 10 ---------- 4 files changed, 24 deletions(-) delete mode 100644 api-backend/Dockerfile~ delete mode 100644 api-frontend/#Dockerfile# delete mode 100644 api-frontend/Dockerfile~ delete mode 100644 docker-compose.yml~ diff --git a/api-backend/Dockerfile~ b/api-backend/Dockerfile~ deleted file mode 100644 index 26a5cb1..0000000 --- a/api-backend/Dockerfile~ +++ /dev/null @@ -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"] \ No newline at end of file diff --git a/api-frontend/#Dockerfile# b/api-frontend/#Dockerfile# deleted file mode 100644 index 8b13789..0000000 --- a/api-frontend/#Dockerfile# +++ /dev/null @@ -1 +0,0 @@ - diff --git a/api-frontend/Dockerfile~ b/api-frontend/Dockerfile~ deleted file mode 100644 index a0d3171..0000000 --- a/api-frontend/Dockerfile~ +++ /dev/null @@ -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"] diff --git a/docker-compose.yml~ b/docker-compose.yml~ deleted file mode 100644 index 96acd00..0000000 --- a/docker-compose.yml~ +++ /dev/null @@ -1,10 +0,0 @@ -version: "3.3" -services: - backend: - build: api-backend/ - ports: - - "8001:8001" - front-end: - build: api-frontend/ - ports: - - "8000:8000"