From 9b40b1e31a03700a69cd84a347a95210f10e2958 Mon Sep 17 00:00:00 2001 From: Rohit Amarnath <88762+ramarnat@users.noreply.github.com> Date: Tue, 23 Sep 2025 13:15:57 -0400 Subject: [PATCH] fix: update Dockerfile to ensure users.csv is copied without error suppression - Modified the Dockerfile to copy users.csv into the application directory without redirecting errors to /dev/null. This change ensures that any issues during the copy process are visible, aiding in debugging and validation of the file's existence. This update improves the reliability of the Docker image setup by making the presence of users.csv explicit during the build process. --- packages/db/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/db/Dockerfile b/packages/db/Dockerfile index e5b09f41e..10dda5f31 100644 --- a/packages/db/Dockerfile +++ b/packages/db/Dockerfile @@ -22,6 +22,6 @@ COPY packages/api/scripts/hash-password.js /usr/local/bin/hash-password.js RUN chmod +x /usr/local/bin/hash-password.js # Copy users.csv if it exists (optional file) -COPY packages/db/users.csv* /app/packages/db/ 2>/dev/null || true +COPY packages/db/users.csv* /app/packages/db/ CMD ["yarn", "workspace", "@omnivore/db", "migrate"]