fix: include .dockerignore in deploy.sh's remote tar package to prevent .env leaking into the image

This commit is contained in:
Marc Billow
2026-07-04 16:22:31 -05:00
parent 5546454097
commit 4789ac8f55
+1
View File
@@ -60,6 +60,7 @@ COPYFILE_DISABLE=1 tar cz \
mqtt_demo/ \
README.md \
.gitignore \
.dockerignore \
| ssh "${SSH_HOST}" "cd ${REMOTE_DIR} && tar xz && find . -name '._*' -delete"
# Ship .env separately and lock it down on the remote.