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