mirror of
https://github.com/qier222/YesPlayMusic.git
synced 2024-11-29 03:48:20 +08:00
14 lines
249 B
Docker
14 lines
249 B
Docker
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
|
|
|
|
EXPOSE 3000
|
|
CMD ["node", "app.js"]
|