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