Spaces:
Runtime error

README / Dockerfile
AlexIsSoPro's picture
Create Dockerfile
0c575ba verified
Raw History Blame Contribute Delete
322 Bytes
# Use Node.js LTS version
FROM node:18
# Create app directory
WORKDIR /app
# Copy package files and install dependencies
COPY package*.json ./
RUN npm install
# Copy your index.js and other files
COPY . .
# IMPORTANT: Hugging Face uses port 7860 by default
EXPOSE 7860
# Start the application
CMD ["node", "index.js"]