anycoder-a688ceaa / Dockerfile
thedruid831's picture
Upload Dockerfile with huggingface_hub
465d881 verified
Raw
History Blame Contribute Delete
327 Bytes
# Use official Node.js image
FROM node:18-alpine
# Create app directory
WORKDIR /usr/src/app
# Copy package files
COPY package*.json ./
# Install dependencies
RUN npm install
# Copy source files
COPY . .
# Build the application
RUN npm run build
# Expose the port
EXPOSE 3000
# Start the application
CMD ["npm", "start"]