From 62976c8e5c3cbd3716210fe1efff29ddb44da590 Mon Sep 17 00:00:00 2001 From: Fede Luzzi Date: Mon, 5 Aug 2024 17:38:47 -0300 Subject: [PATCH] update --- Dockerfile | 2 +- app.py => app/app.py | 0 colors.yml => app/colors.yml | 0 requirements.txt => app/requirements.txt | 0 {static => app/static}/css/components.css | 0 {static => app/static}/css/styles.css | 0 {static => app/static}/js/fontawesome.js | 0 {static => app/static}/js/scripts.js | 0 {static => app/static}/tf.png | Bin {templates => app/templates}/colors.css | 0 {templates => app/templates}/index.html | 0 docker-compose.yml | 8 ++++---- 12 files changed, 5 insertions(+), 5 deletions(-) rename app.py => app/app.py (100%) rename colors.yml => app/colors.yml (100%) rename requirements.txt => app/requirements.txt (100%) rename {static => app/static}/css/components.css (100%) rename {static => app/static}/css/styles.css (100%) rename {static => app/static}/js/fontawesome.js (100%) rename {static => app/static}/js/scripts.js (100%) rename {static => app/static}/tf.png (100%) rename {templates => app/templates}/colors.css (100%) rename {templates => app/templates}/index.html (100%) diff --git a/Dockerfile b/Dockerfile index 5f98c2c..a6c9e36 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ FROM python:3.9-slim WORKDIR /app # Copy the current directory contents into the container at /app -COPY . /app +COPY ./app /app # Install the dependencies RUN pip install --no-cache-dir -r requirements.txt diff --git a/app.py b/app/app.py similarity index 100% rename from app.py rename to app/app.py diff --git a/colors.yml b/app/colors.yml similarity index 100% rename from colors.yml rename to app/colors.yml diff --git a/requirements.txt b/app/requirements.txt similarity index 100% rename from requirements.txt rename to app/requirements.txt diff --git a/static/css/components.css b/app/static/css/components.css similarity index 100% rename from static/css/components.css rename to app/static/css/components.css diff --git a/static/css/styles.css b/app/static/css/styles.css similarity index 100% rename from static/css/styles.css rename to app/static/css/styles.css diff --git a/static/js/fontawesome.js b/app/static/js/fontawesome.js similarity index 100% rename from static/js/fontawesome.js rename to app/static/js/fontawesome.js diff --git a/static/js/scripts.js b/app/static/js/scripts.js similarity index 100% rename from static/js/scripts.js rename to app/static/js/scripts.js diff --git a/static/tf.png b/app/static/tf.png similarity index 100% rename from static/tf.png rename to app/static/tf.png diff --git a/templates/colors.css b/app/templates/colors.css similarity index 100% rename from templates/colors.css rename to app/templates/colors.css 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 index 901758e..7dcbfd3 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,14 +2,14 @@ services: traefik-frontend: container_name: traefik-frontend restart: unless-stopped - build: - context: . - dockerfile: Dockerfile + image: ghcr.io/fluzzi/traefik-frontend:latest + #build: + #context: . + #dockerfile: Dockerfile volumes: - /var/run/docker.sock:/var/run/docker.sock:ro - ./data:/data environment: - - FLASK_ENV=development - PUID=1000 - PGID=1000 - TRAEFIK_API_URL=http://norman.lan/api/http/routers