update
This commit is contained in:
@ -5,7 +5,7 @@ FROM python:3.9-slim
|
|||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
# Copy the current directory contents into the container at /app
|
# Copy the current directory contents into the container at /app
|
||||||
COPY . /app
|
COPY ./app /app
|
||||||
|
|
||||||
# Install the dependencies
|
# Install the dependencies
|
||||||
RUN pip install --no-cache-dir -r requirements.txt
|
RUN pip install --no-cache-dir -r requirements.txt
|
||||||
|
Before Width: | Height: | Size: 394 KiB After Width: | Height: | Size: 394 KiB |
@ -2,14 +2,14 @@ services:
|
|||||||
traefik-frontend:
|
traefik-frontend:
|
||||||
container_name: traefik-frontend
|
container_name: traefik-frontend
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
build:
|
image: ghcr.io/fluzzi/traefik-frontend:latest
|
||||||
context: .
|
#build:
|
||||||
dockerfile: Dockerfile
|
#context: .
|
||||||
|
#dockerfile: Dockerfile
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||||
- ./data:/data
|
- ./data:/data
|
||||||
environment:
|
environment:
|
||||||
- FLASK_ENV=development
|
|
||||||
- PUID=1000
|
- PUID=1000
|
||||||
- PGID=1000
|
- PGID=1000
|
||||||
- TRAEFIK_API_URL=http://norman.lan/api/http/routers
|
- TRAEFIK_API_URL=http://norman.lan/api/http/routers
|
||||||
|
Reference in New Issue
Block a user