Spaces:
Sleeping
Sleeping
smithery-ai[bot]
commited on
Add Dockerfile
Browse files- Dockerfile +16 -0
Dockerfile
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile
|
| 2 |
+
FROM node:lts-alpine
|
| 3 |
+
WORKDIR /app
|
| 4 |
+
|
| 5 |
+
# Copy package files and install dependencies
|
| 6 |
+
COPY package*.json ./
|
| 7 |
+
RUN npm install --ignore-scripts
|
| 8 |
+
|
| 9 |
+
# Copy the rest of the application
|
| 10 |
+
COPY . .
|
| 11 |
+
|
| 12 |
+
# Expose port if needed (optional, as MCP servers might not require it)
|
| 13 |
+
# EXPOSE 3000
|
| 14 |
+
|
| 15 |
+
# Run the MCP server
|
| 16 |
+
CMD ["node", "pollinations-mcp-server.js"]
|