FROM node:20-alpine WORKDIR /app RUN npm config set registry https://registry.npmmirror.com COPY package*.json ./ RUN npm install COPY . . RUN npm run build CMD ["ls", "dist"]