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