aboutsummaryrefslogtreecommitdiff
path: root/docker/amd64/postgresql
diff options
context:
space:
mode:
Diffstat (limited to 'docker/amd64/postgresql')
-rw-r--r--docker/amd64/postgresql/Dockerfile3
-rw-r--r--docker/amd64/postgresql/Dockerfile.alpine3
2 files changed, 4 insertions, 2 deletions
diff --git a/docker/amd64/postgresql/Dockerfile b/docker/amd64/postgresql/Dockerfile
index 5e45a90b..3a51b048 100644
--- a/docker/amd64/postgresql/Dockerfile
+++ b/docker/amd64/postgresql/Dockerfile
@@ -93,9 +93,10 @@ COPY --from=vault /web-vault ./web-vault
COPY --from=build app/target/release/bitwarden_rs .
COPY docker/healthcheck.sh /healthcheck.sh
+COPY docker/start.sh /start.sh
HEALTHCHECK --interval=60s --timeout=10s CMD ["/healthcheck.sh"]
# Configures the startup!
WORKDIR /
-CMD ["/bitwarden_rs"]
+CMD ["/start.sh"]
diff --git a/docker/amd64/postgresql/Dockerfile.alpine b/docker/amd64/postgresql/Dockerfile.alpine
index cdc2d029..984a8a7b 100644
--- a/docker/amd64/postgresql/Dockerfile.alpine
+++ b/docker/amd64/postgresql/Dockerfile.alpine
@@ -96,9 +96,10 @@ COPY --from=vault /web-vault ./web-vault
COPY --from=build /app/target/x86_64-unknown-linux-musl/release/bitwarden_rs .
COPY docker/healthcheck.sh /healthcheck.sh
+COPY docker/start.sh /start.sh
HEALTHCHECK --interval=60s --timeout=10s CMD ["/healthcheck.sh"]
# Configures the startup!
WORKDIR /
-CMD ["/bitwarden_rs"]
+CMD ["/start.sh"]