diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ed8ebf5 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +__pycache__ \ No newline at end of file diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..a093686 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,4 @@ +FROM python:3.9.1 +ADD . /app +WORKDIR /app +RUN pip install -r requirements.txt \ No newline at end of file diff --git a/app.py b/app/app.py similarity index 100% rename from app.py rename to app/app.py diff --git a/requirements.txt b/app/requirements.txt similarity index 100% rename from requirements.txt rename to app/requirements.txt diff --git a/templates/account-payment.html b/app/templates/account-payment.html similarity index 100% rename from templates/account-payment.html rename to app/templates/account-payment.html diff --git a/templates/base.html b/app/templates/base.html similarity index 100% rename from templates/base.html rename to app/templates/base.html diff --git a/templates/cash-payment.html b/app/templates/cash-payment.html similarity index 100% rename from templates/cash-payment.html rename to app/templates/cash-payment.html diff --git a/templates/checkout.html b/app/templates/checkout.html similarity index 100% rename from templates/checkout.html rename to app/templates/checkout.html diff --git a/templates/error.html b/app/templates/error.html similarity index 100% rename from templates/error.html rename to app/templates/error.html diff --git a/templates/index.html b/app/templates/index.html similarity index 100% rename from templates/index.html rename to app/templates/index.html diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..d422877 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,10 @@ +version: "3.8" +services: + app: + build: . + command: python app.py + ports: + - "5000:5000" + volumes: + - .:/app + container_name: trhlina-bar \ No newline at end of file