You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

21 lines
350 B

FROM node:16
RUN npm install -g pnpm@7.1.0 && \
npm config set registry https://registry.npm.taobao.org
WORKDIR /usr/src/app
COPY ./dist ./dist
COPY ./template ./template
COPY ./patches ./patches
COPY ./public ./public
COPY .env.production ./
COPY package.json ./
COPY pnpm-lock.yaml ./
RUN pnpm install
EXPOSE 3388
CMD [ "pnpm", "start" ]