Spaces:
Runtime error
Runtime error
Create Dockerfile
Browse files1234567891011121314151617181920212223242526272829303132FROM node:18-slim
# Install required system dependenciesRUN apt-get update && apt-get install -y \ build-essential \ && rm -rf /var/lib/apt/lists/*
ARG HF_TOKEN
ENV API_TOKEN=$HF_TOKEN
# Set working directoryWORKDIR /app
# Copy package filesCOPY package*.json ./
# Install dependenciesRUN npm install
# Copy the rest of the applicationCOPY . .
# Build the Next.js application# Note: We don't use turbopack for production buildsRUN npm run build
# Expose the port the app runs onEXPOSE 3000
# Start the applicationCMD ["npm", "start"]DockerfileAdded+32