fix up the docker file since i move file aroumd

This commit is contained in:
rainyy21
2026-11-10 10:02:24 -05:00
parent 287ea4b90c
commit ce29d9ede7
2 changed files with 5 additions and 4 deletions
+3 -3
View File
@@ -4,13 +4,13 @@ RUN apk add --no-cache git docker-cli docker-cli-compose && git config --global
WORKDIR /app WORKDIR /app
COPY requirements.txt COPY requirements.txt ..
RUN pip install --no-cache-dir -r requirements.txt RUN pip install --no-cache-dir -r requirements.txt
COPY watcher.py COPY app/watcher.py ..
ENV PYTHONUMBUDDERED = 1 ENV PYTHONUMBUFFERED = 1
CMD ["python", "/app/watcher.py"] CMD ["python", "/app/watcher.py"]
+2 -1
View File
@@ -7,7 +7,8 @@ services:
CHECK_INTERVAL: 30 CHECK_INTERVAL: 30
STACKS_DIR: /opt/gitops STACKS_DIR: /opt/gitops
CONFIG_PATH: /config/repos.yml CONFIG_PATH: /config/repos.yml
env_file: .env
volumes: volumes:
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
- ./repos.yml/:config/repos.yml:ro - ./repos.yml:config/repos.yml:ro
- /opt/gitops:/opt/gitops - /opt/gitops:/opt/gitops