diff --git a/Dockerfile b/Dockerfile index 4de43a6..12c0164 100644 --- a/Dockerfile +++ b/Dockerfile @@ -47,5 +47,5 @@ COPY . ./ RUN touch /var/log/cron.log # RUN chmod +x entrypoint.sh # ENTRYPOINT ["./entrypoint.sh"] -VOLUME ["/opt/app/data/db"] +VOLUME /opt/app/data/db CMD bun run ./src/app.ts --today && cron && tail -f /var/log/cron.log \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 67e3b70..2570df8 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,4 +2,4 @@ services: app: build: . volumes: - - ./data/db:./data/db \ No newline at end of file + - ./data/db:/opt/app/data/db \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index eb8f961..b4d8f3e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,2 @@ apprise -dotenv \ No newline at end of file +python-dotenv \ No newline at end of file