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:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user