mirror of
https://gitlab.com/Binaryify/neteasecloudmusicapi.git
synced 2025-05-23 22:37:41 +08:00
chore: make dockerfile reasonable
This commit is contained in:
parent
e0eec75f08
commit
a82f930297
@ -3,11 +3,8 @@ FROM node:lts-alpine
|
||||
WORKDIR /app
|
||||
COPY . /app
|
||||
|
||||
RUN rm -f package-lock.json \
|
||||
; rm -rf .idea \
|
||||
; rm -rf node_modules \
|
||||
; npm config set registry "https://registry.npm.taobao.org/" \
|
||||
&& npm install
|
||||
RUN npm config set registry "https://registry.npm.taobao.org/" \
|
||||
&& npm install --production
|
||||
|
||||
EXPOSE 3000
|
||||
CMD ["node", "app.js"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user