Spaces:
Paused
Paused
ayoub ayoub commited on
Update Dockerfile
Browse files1124347561078139101611121920131415# Use official Node.js runtime as a base imageFROM node:18-slim
# Set working directoryWORKDIR /app
# Copy package.json and package-lock.jsonCOPY package*.json ./
# Install dependenciesRUN npm install
# Copy the rest of your app filesCOPY . .
# Expose the port your app listens on (default 7860 for HF Spaces)EXPOSE 7860
# Start your Node.js appCMD ["node", "index.js"]ENV PORT=7860
CMD ["./node_modules/.bin/concurrently", "node bot.js", "node server.js"]Dockerfile+3-8