Dockerfile-build 289 B

1234567891011121314
  1. # FROM node:14 as builder
  2. # FROM node:16 as builder
  3. FROM node:20 as builder
  4. WORKDIR /app
  5. ENV LANG C.UTF-8
  6. ENV LANGUAGE C.UTF-8
  7. RUN npm config set registry http://registry.npm.taobao.org
  8. RUN npm install pnpm -g
  9. VOLUME [ "/app" ]
  10. CMD ["/bin/sh", "-c", "while true; do sleep 1000; done"]