mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
Fix docker graceful shutdown (#830)
* run.sh: Replace pid with nodejs's one using exec This notably ensures that "docker stop" sends a TERM signal to the node process which can handle it gracefully and avoid document corruption. * Use exec form for CMD in Dockerfile --------- Co-authored-by: Florent FAYOLLE <florent.fayolle@beta.gouv.fr>
This commit is contained in:
@@ -142,4 +142,4 @@ ENV \
|
||||
|
||||
EXPOSE 8484
|
||||
|
||||
CMD ./sandbox/run.sh
|
||||
CMD ["./sandbox/run.sh"]
|
||||
|
||||
Reference in New Issue
Block a user