Spaces:
Runtime error
Runtime error
File size: 381 Bytes
546580c | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | # Use the official lightweight Node image
FROM node:lts-alpine
# Set the working directory inside the container
WORKDIR /app
# Copy package config files and install dependencies
COPY package*.json ./
RUN npm install
# Copy the rest of your server code
COPY . .
# Expose Hugging Face's mandatory port
EXPOSE 7860
# Command to start your Express server
CMD ["node", "server.js"] |