Spaces:
Sleeping
Sleeping
File size: 327 Bytes
415bf67 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | # Use an official Node.js runtime
FROM node:18-alpine
# Set working directory inside container
WORKDIR /app
# Copy package files first (for caching)
COPY package.json ./
# Install dependencies
RUN npm install --production
# Copy all files
COPY . .
# Expose the web port
EXPOSE 7860
# Start the server
CMD ["npm", "start"] |