sms_miai/Dockerfile

18 lines
290 B
Docker
Raw Normal View History

2020-12-05 09:44:51 +08:00
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" ]