From a60c4ffe3595ad973bad69b407dc94a94065ad44 Mon Sep 17 00:00:00 2001 From: Thomas CHAZOT Date: Mon, 4 Dec 2023 14:55:12 +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 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cryptide_project/Dockerfile b/cryptide_project/Dockerfile index cb99eac..790c26f 100644 --- a/cryptide_project/Dockerfile +++ b/cryptide_project/Dockerfile @@ -21,6 +21,11 @@ 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 touch /usr/local/apache2/conf/httpd.conf + +RUN echo "AddType text/css .css" >> /usr/local/apache2/conf/httpd.conf +RUN echo >> "AddType application/javascript .js" >> /usr/local/apache2/conf/httpd.conf + RUN ls /usr/local/apache2/htdocs/ # Exposer le port 80 (par défaut pour Apache) EXPOSE 80