Switching from buildpack to docker

Hi team,

Trying to swith from buildpack to Docker - I am not sure why, the deployement fails but I understand what is going on from the logs.
The deployment logs says

but the application logs does not say anything,

here is the docker:

FROM node:16.14.0
WORKDIR /app
COPY . .

ARG DATABASE_URL
ENV DATABASE_URL=$DATABASE_URL

ARG REDIS_URL
ENV REDIS_URL=$REDIS_URL

ARG DATAHUB_URL
ENV DATAHUB_URL=$DATAHUB_URL

RUN yarn
EXPOSE 3000
RUN yarn build
CMD ["yarn", "start"]

Any clues would be highly appreciated :slight_smile:

Well…it’s not an error on your screenshot and your Dockerfile looks good. Don’t you have one please or the link to your app Qovery console?

Here is the link - not sure what it is, I tried several strategy but nothing is print on the logs

Ok all good - thanks to this: How to run commands before the application starts | Qovery

Thank you!

You’re welcome @CBaptiste !