fixed docker files

This commit is contained in:
Daniel Sommer 2022-06-01 16:32:56 +02:00
parent 6ac5e54b33
commit e707b12be8
2 changed files with 7 additions and 4 deletions

View file

@ -17,6 +17,9 @@ RUN apk update --no-cache --progress \
&& echo "Europe/Berlin" > /etc/timezone \
&& git clone https://git.velvettear.de/velvettear/kannon.git /opt/kannon \
&& cd /opt/kannon \
&& npm install \
&& apk del --no-cache tzdata git
ENTRYPOINT ["node /opt/kannon/kannon.js /opt/kannon/docker/docker_config.json"]
WORKDIR /opt/kannon
ENTRYPOINT ["node", "kannon.js", "docker/docker_config.json"]

View file

@ -9,8 +9,6 @@ services:
POSTGRES_PASSWORD: kannon
POSTGRES_USER: kannon
POSTGRES_DB: kannon
ports:
- 5432:5432
kannon:
build: .
container_name: kannon
@ -18,4 +16,6 @@ services:
ports:
- 3000:3000
- 3001:3001
- 3002:3002
- 3002:3002
volumes:
- /path/to/library:/mnt/library