From 92f0f2bc4472bb51a9c8ff021c7d63a88e532009 Mon Sep 17 00:00:00 2001 From: "Simon L." Date: Tue, 28 Jan 2025 12:36:47 +0100 Subject: [PATCH] try to fix whiteboard Signed-off-by: Simon L. --- Containers/whiteboard/Dockerfile | 2 ++ Containers/whiteboard/start.sh | 2 +- php/containers.json | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Containers/whiteboard/Dockerfile b/Containers/whiteboard/Dockerfile index d20705ef6dc..1000ecbb782 100644 --- a/Containers/whiteboard/Dockerfile +++ b/Containers/whiteboard/Dockerfile @@ -13,6 +13,8 @@ COPY --chmod=775 healthcheck.sh /healthcheck.sh HEALTHCHECK CMD /healthcheck.sh +WORKDIR /tmp + ENTRYPOINT ["/start.sh"] LABEL com.centurylinklabs.watchtower.enable="false" diff --git a/Containers/whiteboard/start.sh b/Containers/whiteboard/start.sh index 576bd0943ce..962df9b9788 100644 --- a/Containers/whiteboard/start.sh +++ b/Containers/whiteboard/start.sh @@ -14,4 +14,4 @@ fi export REDIS_URL="redis://$REDIS_USER:$REDIS_HOST_PASSWORD@$REDIS_HOST/$REDIS_DB_INDEX" # Run it -exec npm run server:start +exec npm --prefix /app run server:start diff --git a/php/containers.json b/php/containers.json index 7a4d455f6a5..32978f209a6 100644 --- a/php/containers.json +++ b/php/containers.json @@ -858,7 +858,7 @@ "3002" ], "tmpfs": [ - "/app" + "/tmp" ], "internal_port": "3002", "environment": [