Mise à jour de 'cryptide_project/Dockerfile'
continuous-integration/drone/push Build is passing Details

pull/96/head^2
Thomas CHAZOT 1 year ago
parent 8ccc9d6923
commit d023aeb5ea

@ -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
Loading…
Cancel
Save