From cabcb3ccebddbcbfb64f47a5ed6ae315b2aa141a Mon Sep 17 00:00:00 2001 From: David D'ALMEIDA Date: Fri, 24 Mar 2023 03:14:09 +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, 5 insertions(+), 4 deletions(-) diff --git a/src/Api/Dockerfile b/src/Api/Dockerfile index 376e92c..09cab4e 100644 --- a/src/Api/Dockerfile +++ b/src/Api/Dockerfile @@ -1,13 +1,14 @@ FROM node:latest ENV PORT=8080 WORKDIR /app -#ARG http_proxy=http://193.49.118.36:8080 https_proxy=http://193.49.118.36:8080 -ADD package*.json . -ADD tsconfig.json . -ADD . . +ARG http_proxy=http://193.49.118.36:8080 https_proxy=http://193.49.118.36:8080 +COPY package*.json ./ +COPY tsconfig.json ./ +COPY . . RUN npm install RUN npm run build #EXPOSE 8080 CMD [ "node","." ] +