diff --git a/Containers/whiteboard/Dockerfile b/Containers/whiteboard/Dockerfile index d20705ef..1000ecbb 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 576bd094..962df9b9 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 7a4d455f..32978f20 100644 --- a/php/containers.json +++ b/php/containers.json @@ -858,7 +858,7 @@ "3002" ], "tmpfs": [ - "/app" + "/tmp" ], "internal_port": "3002", "environment": [