fix: supprimer nginx -t du Dockerfile frontend
nginx -t échoue au build car le hostname 'backend' n'existe pas encore — il est résolu au runtime par le DNS Docker. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
ad046219af
commit
f6b3761d53
1 changed files with 0 additions and 3 deletions
|
|
@ -23,9 +23,6 @@ COPY nginx.conf /etc/nginx/nginx.conf
|
||||||
# Copier les fichiers compilés par Vite
|
# Copier les fichiers compilés par Vite
|
||||||
COPY --from=builder /build/dist /usr/share/nginx/html
|
COPY --from=builder /build/dist /usr/share/nginx/html
|
||||||
|
|
||||||
# Vérifier la config Nginx au build
|
|
||||||
RUN nginx -t
|
|
||||||
|
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
|
||||||
CMD ["nginx", "-g", "daemon off;"]
|
CMD ["nginx", "-g", "daemon off;"]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue