让小爱同学播放指定内容
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

17 lines
290 B

FROM node:14
WORKDIR /app
ENV TZ Asia/Shanghai
RUN npm config set disturl https://npm.taobao.org/dist
RUN npm config set registry https://registry.npm.taobao.org
COPY package.json ./
COPY package-lock.json ./
COPY server.js ./
RUN npm install
EXPOSE 18888
CMD [ "node", "server.js" ]