# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile
# Stage 1: Build
FROM node:18-alpine
# Set the working directory
WORKDIR /app
# Copy package.json
COPY package.json ./
# Install dependencies
RUN npm install -r
# Copy the rest of the application code
COPY . .
# Build the TypeScript application
RUN npm run build
# Expose the port the app runs on
EXPOSE 5173
# Start the application
CMD ["node", "./dist/index.js"]