Spaces:
Build error

anycoder-199dccbb / Dockerfile
mehdabdelkader's picture
Upload Dockerfile with huggingface_hub
d1da016 verified
Raw History Blame Contribute Delete
331 Bytes
# Use official Node.js image
FROM node:18-alpine
# Set working directory
WORKDIR /app
# Copy package files
COPY package.json package-lock.json ./
# Install dependencies
RUN npm install
# Copy all files
COPY . .
# Build application
RUN npm run build
# Expose port 3000
EXPOSE 3000
# Start the application
CMD ["npm", "start"]