Ultimateking007587/puter-server-js
0
1FROM node:20-slim2 3WORKDIR /app4 5# Install system dependencies6RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/*7 8# Copy package files9COPY package*.json ./10 11# Install dependencies12RUN npm install13 14# Copy application source15COPY . .16 17# Build frontend and backend18RUN npm run build19 20# Expose Hugging Face default port (7860)21EXPOSE 786022ENV PORT=786023ENV NODE_ENV=production24 25# Start server26CMD ["node", "dist/server.cjs"]