44ef370
77fd6d4
44ef370
77fd6d4
44ef370
|
|
FROM node:14
ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
WORKDIR /app
RUN npm install express node-fetch@2
COPY app.js .
EXPOSE 8000
CMD [ "node", "app.js" ]
|