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
|
WORKDIR /app
|
||||||
COPY . /app
|
COPY . /app
|
||||||
|
|
||||||
RUN rm -f package-lock.json \
|
RUN npm config set registry "https://registry.npm.taobao.org/" \
|
||||||
; rm -rf .idea \
|
&& npm install --production
|
||||||
; rm -rf node_modules \
|
|
||||||
; npm config set registry "https://registry.npm.taobao.org/" \
|
|
||||||
&& npm install
|
|
||||||
|
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
CMD ["node", "app.js"]
|
CMD ["node", "app.js"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user