From 8b25a20a7027fc7d9f70909b1c9e3ee3c9cbba82 Mon Sep 17 00:00:00 2001 From: kekaadrenalin Date: Fri, 28 Jun 2024 09:59:00 +0300 Subject: [PATCH] Fix bug in docker-compose settings --- Dockerfile | 2 +- README.md | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index fcccaed..79d7b56 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,9 +24,9 @@ RUN mkdir /data FROM scratch ENV PATH /bin +COPY --from=builder /data /data COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt COPY --from=builder /dockhook/dockhook /dockhook -COPY --from=builder /data /dockhook/data EXPOSE 8080 diff --git a/README.md b/README.md index b0b64e0..12a6049 100644 --- a/README.md +++ b/README.md @@ -37,10 +37,10 @@ Here is the Docker Compose file: image: kekaadrenalin/dockhook:latest volumes: - /var/run/docker.sock:/var/run/docker.sock:ro - - ./data/users.yml:/dockhook/data/users.yml:rw - - ./data/webhooks.yml:/dockhook/data/webhooks.yml:rw + - ./data/users.yml:/data/users.yml:rw + - ./data/webhooks.yml:/data/webhooks.yml:rw ... or ... - - ./some_data/:/dockhook/data/ + - ./some_data/:/data/ ports: - 8888:8080