From efdcdedacea36b1eb354064fc281cf3a9423d8a9 Mon Sep 17 00:00:00 2001 From: Ameri Mohamed Ayoub Date: Fri, 7 Jun 2024 23:07:14 +0100 Subject: [PATCH] Update Dockerfile --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 5be8c63..4b8419a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,5 +3,7 @@ WORKDIR /app COPY package*.json ./ RUN yarn install COPY . . +RUN yarn build:ts EXPOSE 3000 -CMD [ "yarn","start" ] + +CMD [ "yarn","fastify","start", "-l" ,"info" ,"dist/app.js" ]