Skip to content

Commit 9fae624

Browse files
committed
Remove entrypoint script, use direct node entrypoint
Removed the custom entrypoint script since the MCP registry doesn't support conditional command-line argument passing. The server will auto-launch Chrome with default settings (headless, 1280x720). Users who need custom Chrome configurations can build and run the server outside the registry using the standard npx approach with command-line flags.
1 parent 5206c90 commit 9fae624

2 files changed

Lines changed: 2 additions & 78 deletions

File tree

Dockerfile

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,6 @@ WORKDIR /app
4545
COPY --from=builder /app/build ./build
4646
COPY --from=builder /app/node_modules ./node_modules
4747

48-
# Copy entrypoint script
49-
COPY docker-entrypoint.sh /usr/local/bin/
50-
RUN chmod +x /usr/local/bin/docker-entrypoint.sh
51-
5248
# Set environment to tell Puppeteer where Chromium is installed
5349
ENV PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium
5450

@@ -60,5 +56,5 @@ RUN groupadd -r mcpuser && useradd -r -g mcpuser -G audio,video mcpuser \
6056

6157
USER mcpuser
6258

63-
# Use entrypoint script that handles optional BROWSER_URL
64-
ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh"]
59+
# Expose MCP server via stdio
60+
ENTRYPOINT ["node", "build/src/index.js"]

docker-entrypoint.sh

Lines changed: 0 additions & 72 deletions
This file was deleted.

0 commit comments

Comments
 (0)