0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-04-08 02:52:39 -05:00

Disabled nx daemon in docker container (#22066)

no issue

- When the nx daemon is enabled and using docker for local development,
we periodically get an error like the following, which crashes `yarn
dev` and requires a manual restart:

```
Daemon process terminated and closed the connection

Please rerun the command, which will restart the daemon.
If you get this error again, check for any errors in the daemon process logs found in: /home/ghost/.nx/workspace-data/d/daemon.log
```

- Disabling the daemon in docker prevents these errors, and so far I
haven't noticed any performance degradation from disabling it.
This commit is contained in:
Chris Raible 2025-01-28 15:59:23 -08:00 committed by GitHub
parent b97cea2633
commit 38d377d434
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -28,7 +28,7 @@ RUN curl -s https://packages.stripe.dev/api/security/keypair/stripe-cli-gpg/publ
default-mysql-client && \
npx -y playwright@1.46.1 install --with-deps
ENV NX_DAEMON=true
ENV NX_DAEMON=false
ENV YARN_CACHE_FOLDER=$WORKDIR/.yarncache
EXPOSE 2368