Correct Build to start redis-server on start
This commit is contained in:
@@ -83,4 +83,5 @@ RUN npm run build
|
|||||||
RUN npm install pm2 -g
|
RUN npm install pm2 -g
|
||||||
|
|
||||||
EXPOSE 8000
|
EXPOSE 8000
|
||||||
CMD [ "pm2-runtime", "ecosystem.config.cjs" ]
|
|
||||||
|
CMD ["sh", "-c", "redis-server --daemonize yes && pm2-runtime ecosystem.config.cjs"]
|
||||||
|
|||||||
Reference in New Issue
Block a user