FROM node:lts-alpine | |
EXPOSE 3000 | |
ENV TZ=Asia/Shanghai | |
ENV x-cursor-checksum=zo7FKjL9mNpQR4sVW2XcYbZ8hJkMnP3TaUdE5gHiA6wBxCyD1tGvS0ufrqL4WXY7ZNMKjHPQ/5sBpV9nTR2WxCyD8gHkMaUbE4wJiA3vFtLq6uZN0mKjH7YXcQdP1fSGvBhW5nMkLaT | |
WORKDIR /app | |
COPY . . | |
RUN yarn config set registry https://registry.npmmirror.com/ | |
RUN yarn | |
CMD ["npm", "run", "start"] |