mirror of
https://gitlab.com/Binaryify/neteasecloudmusicapi.git
synced 2025-05-23 22:37:41 +08:00
improve docker build config
This commit is contained in:
parent
c6d3fd95bc
commit
0a8680eaa3
@ -1,9 +1,11 @@
|
||||
FROM mhart/alpine-node:8
|
||||
FROM mhart/alpine-node:9
|
||||
|
||||
WORKDIR /app
|
||||
COPY . /app
|
||||
|
||||
RUN npm install
|
||||
RUN rm -rf node_modules \
|
||||
&& rm package-lock.json \
|
||||
&& npm install
|
||||
|
||||
EXPOSE 3000
|
||||
CMD ["node", "app.js"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user