diff --git a/dns/Dockerfile b/dns/Dockerfile index b209613..68928e0 100644 --- a/dns/Dockerfile +++ b/dns/Dockerfile @@ -43,4 +43,4 @@ COPY package.json . COPY --from=dependencies ${app_dir}/node_modules ${app_dir}/node_modules COPY --from=build ${app_dir}/dist ${app_dir}/dist -CMD pm2 start . --no-daemon +CMD ["pm2-runtime", "start", "."] diff --git a/nginx/Dockerfile b/nginx/Dockerfile index 78cb593..f86f94d 100644 --- a/nginx/Dockerfile +++ b/nginx/Dockerfile @@ -69,4 +69,4 @@ COPY nginx.default.conf /opt/nginx/conf/nginx.conf EXPOSE 80 443 # * Start nginx -CMD nginx -g 'daemon off;' +CMD ["nginx", "-g", "daemon off;"]