Deployment failed (start command is required)

Issues information

  • OS: Win 10
  • databases: none
  • Programming language and version: Node.js v16
  • Link to your project on Github/Gitlab: GitHub - Haladesta/alert-checker-public
    (copy of actual Projekt as the actual one contains an .env file with the Bot-Token)

Your issue

I’m working on a Discord Bot but can’t seem to get it to deploy.
I added a Dockerfile though I have never used Docker.
Whatever I do the logs only ever say:

[31;1mERROR: [0mfailed to launch: determine start command: when there is no default process a command is required

The Dockerfile contains the start command though so I am out of ideas of what to do.

Dockerfile content (if any)

FROM node:16

RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app

COPY package*.json ./
RUN npm install
COPY . .

CMD [ "node", "main.js" ]

Hello! Could you change the name of your process in Procfile to ‘web’ temporarily? It’s a bug on our side with Procfile support, we are working on solving, but the change should help as a workaround before the fix is released.

Yes, thank you that worked