fix: include .dockerignore in deploy.sh's remote tar package to prevent .env leaking into the image
This commit is contained in:
1 parent
5546454097
commit
4789ac8f55
1 file changed
+1
@@ -60,6 +60,7 @@ COPYFILE_DISABLE=1 tar cz \
|
|||||||
mqtt_demo/ \
|
mqtt_demo/ \
|
||||||
README.md \
|
README.md \
|
||||||
.gitignore \
|
.gitignore \
|
||||||
|
.dockerignore \
|
||||||
| ssh "${SSH_HOST}" "cd ${REMOTE_DIR} && tar xz && find . -name '._*' -delete"
|
| ssh "${SSH_HOST}" "cd ${REMOTE_DIR} && tar xz && find . -name '._*' -delete"
|
||||||
|
|
||||||
# Ship .env separately and lock it down on the remote.
|
# Ship .env separately and lock it down on the remote.
|
||||||
|
|||||||
Reference in new issue
Block a user