This is a minimalist reproduction case to point out an issue with code syncing in Convox Gen1.
Run this program with:
convox start --manifest docker-compose-local.yml --generation 1
Now, in a separate terminal you can use docker exec
to access the running "web" service and verify that the DONTSYNC file has not been uploaded.
Next, modify the DONTSYNC file.
What you should see, is that convox
uploads the new change, despite that file being ignored in .dockerignore. This can be confirmed by again using docker exec
to attach to the running container and see that the file has been uploaded.
What you would hope to see, is that convox
would not sync this code change at all.