From 13c00e9322ffec43cfb33de0e0cd8c5a74255f5f Mon Sep 17 00:00:00 2001 From: nmemmert <67961292+nmemmert@users.noreply.github.com> Date: Tue, 21 Jul 2026 10:33:20 -0400 Subject: [PATCH] Remove VOLUME instruction from Dockerfile VOLUME ["/data"] was causing Docker to create an anonymous volume for /data that shadowed the bind mount defined in docker-compose.yml, leaving the container with an empty /data instead of the host data. The bind mount in docker-compose.yml is sufficient; no Dockerfile VOLUME needed. Co-Authored-By: Claude Sonnet 4.6 --- Dockerfile | 1 - 1 file changed, 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 912f788..3884a8a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,6 +13,5 @@ COPY server.js ./ COPY --from=build /app/build ./build ENV DATA_DIR=/data -VOLUME ["/data"] EXPOSE 4000 CMD ["node", "server.js"]