chore: update Dockerfile to use npm mirror for faster package installation; add favicon to index.html

This commit is contained in:
samanhappy@qq.com
2025-04-02 22:18:54 +08:00
parent 77ca0d5988
commit 67487a4018
3 changed files with 4 additions and 0 deletions

View File

@@ -1,6 +1,9 @@
# Use Node.js LTS image with Python support
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
# Set working directory
WORKDIR /app