chore: upgrade docker-file version

This commit is contained in:
sealday 2024-04-06 03:38:05 +08:00
parent 5db6f51e70
commit 8c71fbd5a2

View File

@ -6,7 +6,7 @@ ENV PATH="$PNPM_HOME:$PATH"
RUN corepack enable
WORKDIR /app
RUN cd /app && npx --registry $VERDACCIO_URL create-nocobase-app my-nocobase-app -a -e APP_ENV=production
RUN cd /app && npx --registry $VERDACCIO_URL create-nocobase-app@0.21.2-alpha.9 my-nocobase-app -a -e APP_ENV=production
RUN pnpm config set registry $VERDACCIO_URL
RUN --mount=type=cache,id=pnpm,target=/pnpm/store cd /app/my-nocobase-app && pnpm install --production