Spaces:
No application file
No application file
Update README.md
Browse files123456789101112131415161718192021222324252627FROM nikolaik/python-nodejs:latestWORKDIR /app# Install system tool to unzip filesRUN apt-get update && apt-get install -y unzip && rm -rf /var/lib/apt/lists/*# Copy the ZIP file into the cloud serverCOPY . .# Unzip the file and handle folders nested inside folders automaticallyRUN unzip *.zip && rm *.zip && \if [ -d */src ] || [ -f */package.json ]; then mv */* . 2>/dev/null || true; fi# Install packages for Next.js and PythonRUN npm install --legacy-peer-deps || npm installRUN pip install -r requirements.txt --no-cache-dir || true# Build the Next.js visual pagesRUN npm run build || true# Open port 7860 for Hugging Face to display your websiteEXPOSE 7860ENV PORT=7860# Start the web applicationCMD ["npm", "start"]1234567891011---title: Eclipse Predictoremoji: 🌖colorFrom: indigocolorTo: purplesdk: dockerapp_port: 7860pinned: falselicense: mitshort_description: Watch the magic happen.---
README.md+11-27