From 0e168349b463f016511bfd5f0d36bbc9556722cf Mon Sep 17 00:00:00 2001 From: Thomas CHAZOT Date: Mon, 4 Dec 2023 15:06:26 +0100 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'cryptide=5Fproject?= =?UTF-8?q?/Dockerfile'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cryptide_project/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cryptide_project/Dockerfile b/cryptide_project/Dockerfile index 0e82dfa..4f3b608 100644 --- a/cryptide_project/Dockerfile +++ b/cryptide_project/Dockerfile @@ -15,12 +15,14 @@ COPY . . # Construire l'application RUN npm run build +COPY .htacess /app/build/ + # Étape 2 : Configurer Apache et copier les fichiers construits FROM httpd:2.4-alpine # Copier les fichiers construits depuis l'étape précédente COPY --from=build /app/build/ /usr/local/apache2/htdocs/ -RUN ls /usr/local/apache2/conf/httpd.conf +RUN ls /usr/local/apache2/htdocs/ # Exposer le port 80 (par défaut pour Apache) EXPOSE 80