mirror of
https://github.com/samanhappy/mcphub.git
synced 2025-12-24 02:39:19 -05:00
chore: update Dockerfile to set npm registry for faster package installation
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
FROM node:22-alpine
|
||||
|
||||
# Use mirror for faster package installation
|
||||
RUN sed -i 's|https://registry.npmjs.org/|https://registry.npmmirror.com/|g' /etc/npmrc
|
||||
RUN npm config set registry https://registry.npmmirror.com
|
||||
|
||||
# Set working directory
|
||||
WORKDIR /app
|
||||
|
||||
Reference in New Issue
Block a user