Preparing the repository

This commit is contained in:
charles-gauthereau
2025-01-02 17:58:14 +01:00
parent f60155ccf0
commit 5764c2c91e
16 changed files with 214 additions and 453 deletions
+3
View File
@@ -50,6 +50,8 @@ COPY . .
ENV NEXT_TELEMETRY_DISABLED=1
RUN npx prisma generate
RUN npx zenstack generate
RUN \
if [ -f yarn.lock ]; then yarn run build; \
@@ -76,6 +78,7 @@ RUN chown nextjs:nodejs .next
COPY --from=builder /app/next.config.mjs ./
COPY --from=builder /app/schema.zmodel ./
#COPY --from=builder /app/src/lib/hooks ./src/lib/hooks
COPY --from=builder /app/src/openapi.yaml ./src/
COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./
COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static
+1 -3
View File
@@ -1,8 +1,6 @@
#!/bin/bash
npm install -g npm@11.0.0
npm -v
npx install --save-dev @zenstackhq/openapi
npx zenstack generate