Files
2025-05-27 19:00:04 +03:00

26 lines
595 B
Docker

# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile
FROM node:23.10.0-alpine3.21
# Create app directory
WORKDIR /usr/src/app
# Copy package files and config first
COPY package.json yarn.lock tsconfig.json ./
# Copy source code
COPY ./ ./
# Install dependencies including TypeScript
RUN yarn install --frozen-lockfile
# Build the project (using local tsc from node_modules)
RUN yarn build
# Expose port for the SSE server
EXPOSE 3000
# Set environment variables
ENV SSE_PORT=3000
# Run the server using the correct build path
CMD ["node", "build/index.js"]