FROM node:latest | |
ENV TZ=Asia/Shanghai | |
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && \ | |
echo $TZ > /etc/timezone | |
ENV DEBIAN_FRONTEND=noninteractive | |
RUN apt-get update && \ | |
apt-get install -y -qq wget curl tzdata git | |
EXPOSE 7860 | |
WORKDIR /zmal | |
RUN git clone https://github.com/xizeyoupan/Meting-API.git | |
WORKDIR /zmal/Meting-API | |
RUN npm i | |
RUN chmod -R 777 /zmal | |
RUN npm run build:all | |
CMD node node.js |