mirror of
https://github.com/NeteaseCloudMusicApiEnhanced/api-enhanced.git
synced 2026-10-20 22:51:23 +08:00
修复了docker自动构建的一些问题, 更新了文档
This commit is contained in:
+3
-3
@@ -3,9 +3,9 @@ FROM mhart/alpine-node:9
|
||||
WORKDIR /app
|
||||
COPY . /app
|
||||
|
||||
RUN rm -rf node_modules \
|
||||
&& rm package-lock.json \
|
||||
&& npm config set registry "https://registry.npm.taobao.org/" \
|
||||
RUN rm package-lock.json \
|
||||
; rm -rf node_modules \
|
||||
; npm config set registry "https://registry.npm.taobao.org/" \
|
||||
&& npm install
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
Reference in New Issue
Block a user