From 5d4f04296a618253924d38462f58be45ee1e1dd8 Mon Sep 17 00:00:00 2001 From: Emre KARTAL Date: Wed, 1 Mar 2023 10:51:48 +0100 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'src/Api/Dockerfile?= =?UTF-8?q?'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Api/Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Api/Dockerfile b/src/Api/Dockerfile index 13d807c..4717570 100644 --- a/src/Api/Dockerfile +++ b/src/Api/Dockerfile @@ -7,8 +7,9 @@ WORKDIR /app COPY ["package.json", "package-lock.json*", "./"] -RUN npm install --production - +RUN npm install +RUN npm run build +RUN npm publish COPY . . CMD [ "node", "server.js" ]