anycoder-7a17f82e / Dockerfile
VortexHunter23's picture
Upload Dockerfile with huggingface_hub
28a65ef verified
raw
history blame
319 Bytes
# Use Node.js LTS version
FROM node:18-alpine
# Set working directory
WORKDIR /app
# Copy package files
COPY package*.json ./
# Install dependencies
RUN npm install
# Copy project files
COPY . .
# Build the application
RUN npm run build
# Expose port 3000
EXPOSE 3000
# Start the application
CMD ["npm", "start"]