# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile
FROM node:lts-alpine
WORKDIR /app
# Copy package files and install dependencies
COPY package*.json ./
RUN npm install --ignore-scripts
# Copy the rest of the source code
COPY . .
# Build the project
RUN npm run build
# Expose any necessary ports if needed (not specified, so omitted)
# Run the server
CMD ["node", "dist/index.js"]