Run node server, make curl request and then kill server in Dockerfile
I have the following simple Dockerfile FROM node:16 COPY . . RUN npm install CMD ["npm", "run", "dev"] It runs a NextJS application. I need to make two CURL Requests from the container but, I can't do: CMD ["npm", "run",…