fix: correction syntaxe Dockerfile pour heredoc

- Séparation de la commande cat et echo en deux RUN distincts
- Correction de la syntaxe heredoc dans Dockerfile
This commit is contained in:
syoul
2025-12-07 08:10:11 +01:00
parent 56f010c21c
commit e1842c5df5

View File

@@ -76,7 +76,7 @@ RUN mkdir -p .techradar/data && \
# Créer la page Next.js /team
RUN mkdir -p .techradar/src/pages && \
cat > .techradar/src/pages/team.tsx << 'EOF' && \
cat > .techradar/src/pages/team.tsx << 'EOF'
import Head from "next/head";
import { CustomPage } from "@/pages/_app";
@@ -105,7 +105,7 @@ const TeamPage: CustomPage = () => {
export default TeamPage;
EOF
echo "✅ Page team.tsx créée"
RUN echo "✅ Page team.tsx créée"
# Modifier Navigation.tsx pour ajouter le lien Équipe
RUN if ! grep -q 'href="/team"' .techradar/src/components/Navigation/Navigation.tsx; then \