We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 36ba5f0 commit ab2c730Copy full SHA for ab2c730
1 file changed
Dockerfile
@@ -46,6 +46,7 @@ ENV NODE_ENV=production
46
RUN apt-get update \
47
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
48
ca-certificates \
49
+ tini \
50
&& rm -rf /var/lib/apt/lists/*
51
52
# `openclaw update` expects pnpm. Provide it in the runtime image.
@@ -71,4 +72,7 @@ COPY src ./src
71
72
# Railway injects PORT at runtime and routes traffic to that port.
73
# If we force a different port, deployments can come up but the domain will route elsewhere.
74
EXPOSE 3000
75
+
76
+# Ensure PID 1 reaps zombies and forwards signals.
77
+ENTRYPOINT ["tini", "--"]
78
CMD ["node", "src/server.js"]
0 commit comments