# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile
FROM node:lts-alpine
# Set working directory
WORKDIR /app
# Copy package.json and package-lock.json if available
COPY package*.json ./
# Install dependencies
RUN npm install --ignore-scripts
# Copy the rest of the application
COPY . .
# Build the project
RUN npm run build
# Expose any necessary port if required (not specified, so leaving out)
# Start the server
CMD ["npm", "start"]