mirror of
https://github.com/Portabase/portabase.git
synced 2026-07-14 11:16:13 +02:00
Preparing the repository
This commit is contained in:
@@ -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,8 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
npm install -g npm@11.0.0
|
||||
npm -v
|
||||
|
||||
npx install --save-dev @zenstackhq/openapi
|
||||
|
||||
|
||||
npx zenstack generate
|
||||
|
||||
Reference in New Issue
Block a user