Bitcoin MCP Server

by AbdelStark
Verified
MIT License
100
18
  • Apple
# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile # Use Node.js 18 LTS (Gallium) as the base image FROM node:18-bullseye-slim AS builder # Set the working directory in the container WORKDIR /app # Copy the package.json and package-lock.json to the working directory COPY package*.json ./ # Install the dependencies RUN npm install # Copy the entire application to the working directory COPY . . # Build the application RUN npm run build # Use a smaller base image for production FROM node:18-bullseye-slim AS production # Set the working directory in the container WORKDIR /app # Copy the built files and dependencies from the builder stage COPY --from=builder /app/build ./build COPY --from=builder /app/node_modules ./node_modules COPY package.json ./ # Set environment variables ENV NODE_ENV=production ENV SERVER_MODE=stdio # Expose the port the app runs on EXPOSE 3000 # Start the application CMD ["node", "build/cli.js"]