fix up the docker file since i move file aroumd
This commit is contained in:
+3
-3
@@ -4,13 +4,13 @@ RUN apk add --no-cache git docker-cli docker-cli-compose && git config --global
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY requirements.txt
|
||||
COPY 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"]
|
||||
|
||||
|
||||
+2
-1
@@ -7,7 +7,8 @@ services:
|
||||
CHECK_INTERVAL: 30
|
||||
STACKS_DIR: /opt/gitops
|
||||
CONFIG_PATH: /config/repos.yml
|
||||
env_file: .env
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- ./repos.yml/:config/repos.yml:ro
|
||||
- ./repos.yml:config/repos.yml:ro
|
||||
- /opt/gitops:/opt/gitops
|
||||
|
||||
Reference in New Issue
Block a user