davidberenstein1957 commited on
Commit
276fff1
·
verified ·
1 Parent(s): a04d845

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +9 -22
Dockerfile CHANGED
@@ -1,26 +1,13 @@
1
- FROM node:22-bookworm-slim
2
 
3
- ENV DEBIAN_FRONTEND noninteractive
 
4
 
5
- # for arm64 support we need to install chromium provided by debian
6
- # npm ERR! The chromium binary is not available for arm64.
7
- # https://github.com/puppeteer/puppeteer/issues/7740
8
 
9
- ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD true
10
- ENV PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium
11
 
12
- RUN apt-get update && \
13
- apt-get install -y wget gnupg && \
14
- apt-get install -y fonts-ipafont-gothic fonts-wqy-zenhei fonts-thai-tlwg fonts-kacst fonts-freefont-ttf libxss1 \
15
- libgtk2.0-0 libnss3 libatk-bridge2.0-0 libdrm2 libxkbcommon0 libgbm1 libasound2 && \
16
- apt-get install -y chromium && \
17
- apt-get clean
18
-
19
- COPY src/puppeteer /project
20
- COPY tsconfig.json /tsconfig.json
21
-
22
- WORKDIR /project
23
-
24
- RUN npm install
25
-
26
- ENTRYPOINT ["node", "dist/index.js"]
 
1
+ FROM node:14
2
 
3
+ # Create app directory
4
+ WORKDIR /usr/src/app
5
 
6
+ # Install the server-memory package
7
+ RUN npx -y @modelcontextprotocol/server-memory
 
8
 
9
+ # Expose the port the app runs on
10
+ EXPOSE 3000
11
 
12
+ # Command to run the server
13
+ CMD ["npx", "@modelcontextprotocol/server-memory"]