diff --git a/cryptide_project/Dockerfile b/cryptide_project/Dockerfile index 2a023b9..765aff8 100644 --- a/cryptide_project/Dockerfile +++ b/cryptide_project/Dockerfile @@ -17,7 +17,7 @@ RUN npm run build RUN ls -COPY htaccess /app/build/.htaccess + # Étape 2 : Configurer Apache et copier les fichiers construits FROM httpd:2.4-alpine @@ -25,6 +25,9 @@ FROM httpd:2.4-alpine # Copier les fichiers construits depuis l'étape précédente COPY --from=build /app/build/ /usr/local/apache2/htdocs/ +COPY htaccess /usr/local/apache2/htdocs/.htaccess + + RUN ls /usr/local/apache2/htdocs/ # Exposer le port 80 (par défaut pour Apache) EXPOSE 80 \ No newline at end of file