We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7260186 commit d3e10a6Copy full SHA for d3e10a6
docker-builds/server/Dockerfile
@@ -52,6 +52,7 @@ WORKDIR ${ETHLANCE_SERVER_ROOT}
52
COPY --from=builder /build /build
53
# Initialize events log
54
RUN echo -n "{:last-processed-block 27409455}" > ethlance-events.log
55
+RUN npx pm2 install pm2-logrotate
56
57
EXPOSE 6300
-CMD ["node", "out/ethlance_server.js"]
58
+CMD ["npx", "pm2-runtime", "out/ethlance_server.js"]
server/package.json
@@ -28,6 +28,7 @@
28
"jsedn": "0.4.1",
29
"jsonwebtoken": "8.5.1",
30
"pg": "8.8.0",
31
+ "pm2": "6.0.8",
32
"shadow-cljs": "2.28.16",
33
"web3": "1.7.3",
34
"ws": "4.0.0",
0 commit comments