diff --git a/Dockerfile b/Dockerfile index 09eeba8..8acb1c6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -83,4 +83,5 @@ RUN npm run build RUN npm install pm2 -g EXPOSE 8000 -CMD [ "pm2-runtime", "ecosystem.config.cjs" ] \ No newline at end of file + +CMD ["sh", "-c", "redis-server --daemonize yes && pm2-runtime ecosystem.config.cjs"]