From b72039e582024afa049418dcfbca271ec8bc06b4 Mon Sep 17 00:00:00 2001 From: David D'ALMEIDA Date: Fri, 24 Mar 2023 03:59:39 +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 | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/src/Api/Dockerfile b/src/Api/Dockerfile index 216692d..8e1b65a 100644 --- a/src/Api/Dockerfile +++ b/src/Api/Dockerfile @@ -1,17 +1,12 @@ FROM node:latest -ENV PORT=8080 -RUN find . -name UserService.ts -type f -print -WORKDIR /app -RUN ls /app -RUN find . -name UserService.ts -type f -print -#ARG http_proxy=http://193.49.118.36:8080 https_proxy=http://193.49.118.36:8080 + ADD package.json /app ADD tsconfig.json /app +WORKDIR /app ADD . /app - RUN npm install RUN npm run build -#EXPOSE 8080 -CMD [ "node","." ] +EXPOSE 8080 +CMD [ "node", "." ]