mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-17 16:37:43 +00:00
fix(super-sync-server): Copy generated prisma client to production image
This commit is contained in:
parent
4d16dce987
commit
4f21998a12
1 changed files with 3 additions and 0 deletions
|
|
@ -51,6 +51,9 @@ RUN npm install ./shared-schema.tgz --ignore-scripts
|
|||
# 2. Install remaining production dependencies (including fastify)
|
||||
RUN npm install --ignore-scripts --omit=dev
|
||||
|
||||
# Copy generated Prisma client from builder (missing in fresh install)
|
||||
COPY --from=builder /repo/packages/super-sync-server/node_modules/.prisma ./node_modules/.prisma
|
||||
|
||||
# Non-root user + Data directory
|
||||
RUN addgroup -g 1001 -S nodejs && \
|
||||
adduser -S supersync -u 1001 -G nodejs && \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue