From 30dcc079b454006e1549764d2892aff6cec9547d Mon Sep 17 00:00:00 2001 From: cangui Date: Sun, 13 Oct 2024 19:26:34 +0200 Subject: [PATCH] update pour test --- Dockerfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7f13c2b..71b2d0f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,10 +5,13 @@ FROM node:18 RUN apt-get update && apt-get install -y git # Créer un répertoire de travail dans le conteneur -WORKDIR . / +WORKDIR /app -COPY . / +# Copier tous les fichiers de la racine du projet dans /app +COPY . /app/ +# Installer les dépendances +RUN npm install --verbose # Exposer le port sur lequel l'application s'exécute EXPOSE 3000