From 50e0b27cd20ea93257264c36de5d756774e4e96c Mon Sep 17 00:00:00 2001 From: David D'ALMEIDA Date: Fri, 24 Mar 2023 04:21:21 +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 | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/Api/Dockerfile b/src/Api/Dockerfile index 6c8bb18..3043403 100644 --- a/src/Api/Dockerfile +++ b/src/Api/Dockerfile @@ -1,17 +1,10 @@ FROM node:latest -RUN ls /usr/src ADD package.json /app ADD tsconfig.json /app -RUN cat package.json -RUN find . -name package.json -type f -print +ADD . /app RUN mkdir /app WORKDIR /app -ADD . /app -RUN find . -name package.json -type f -print -RUN find /app -name package.json -type f -print RUN npm install RUN npm run build - EXPOSE 8080 CMD [ "node", "." ] -