mirror of
https://github.com/zhigang1992/pocketbase-mcp.git
synced 2026-01-12 17:32:57 +08:00
Add Dockerfile
This commit is contained in:
19
Dockerfile
Normal file
19
Dockerfile
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile
|
||||||
|
FROM node:lts-alpine
|
||||||
|
|
||||||
|
# Create app directory
|
||||||
|
WORKDIR /app
|
||||||
|
|
||||||
|
# Install app dependencies
|
||||||
|
COPY package*.json ./
|
||||||
|
|
||||||
|
RUN npm install --production --ignore-scripts
|
||||||
|
|
||||||
|
# Bundle app source
|
||||||
|
COPY . .
|
||||||
|
|
||||||
|
# Build the project
|
||||||
|
RUN npm run build
|
||||||
|
|
||||||
|
# Expose any ports if needed, else CMD
|
||||||
|
CMD ["node", "build/index.js"]
|
||||||
Reference in New Issue
Block a user