# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile
FROM node:lts-alpine
# Create app directory
WORKDIR /usr/src/app
# Copy package files
COPY package.json package-lock.json* ./
# Install dependencies with ignoring scripts to speed up install
RUN npm install --ignore-scripts
# Copy the rest of the application code
COPY . .
# Build the application
RUN npm run build
# Expose necessary port if needed (not required since using stdio)
# Start the server
CMD [ "node", "dist/index.js" ]