CoolFace
Apppublic

flyingff2083/parallel_self

sourceHugging Facemitupdated 11mo agoView on Hugging Face
0likes
Dockerfile24 linesDownload Raw Back to root
1FROM node:18-slim2 3# Set working directory4WORKDIR /app5 6# Copy package files7COPY backend/package*.json ./backend/8 9# Install Node.js dependencies10RUN cd backend && npm install --production11 12# Copy application files13COPY . .14 15# Expose port 7860 for Hugging Face Spaces16EXPOSE 786017 18# Set environment variables19ENV NODE_ENV=production20ENV PORT=786021 22# Start the application23CMD ["node", "backend/server.js"]24