This commit is contained in:
Patrick Jentsch 2020-06-05 15:12:59 +02:00
parent cb2b64fa9d
commit 056fbe273c
6 changed files with 4 additions and 2 deletions

3
.gitignore vendored
View File

@ -1,4 +1,5 @@
nopaque.log
nopaqued.log
.DS_Store
*.env
logs
__pycache__

View File

@ -25,9 +25,9 @@ USER nopaqued
WORKDIR /home/nopaqued
COPY ["logger", "logger"]
COPY ["notify", "notify"]
COPY ["tasks", "tasks"]
COPY ["logger", "logger"]
COPY ["decorators.py", "nopaqued.py", "requirements.txt", "./"]
RUN python -m venv venv \
&& venv/bin/pip install --requirement requirements.txt \

0
daemon/docker-entrypoint.sh Normal file → Executable file
View File

View File

@ -70,6 +70,7 @@ services:
- "/mnt/dind-swarm/nopaque:/mnt/dind-swarm/nopaque"
- "/var/run/docker.sock:/var/run/docker.sock"
- "./logs:/home/nopaqued/logs"
- "./daemon/logger:/home/nopaqued/logger"
- "./daemon/notify:/home/nopaqued/notify"
- "./daemon/decorators.py:/home/nopaqued/decorators.py"
- "./daemon/docker-entrypoint.sh:/usr/local/bin/docker-entrypoint.sh"

0
logs/dummy Normal file
View File

0
web/docker-entrypoint.sh Normal file → Executable file
View File