ci: copiar packages/database al runner (no linkeado en hoisted)
This commit is contained in:
@@ -16,6 +16,7 @@ RUN addgroup -S app && adduser -S app app
|
|||||||
COPY --from=builder /app/apps/api/dist ./dist
|
COPY --from=builder /app/apps/api/dist ./dist
|
||||||
COPY --from=builder /app/apps/api/package.json ./
|
COPY --from=builder /app/apps/api/package.json ./
|
||||||
COPY --from=builder /app/node_modules ./node_modules
|
COPY --from=builder /app/node_modules ./node_modules
|
||||||
|
COPY --from=builder /app/packages/database ./packages/database
|
||||||
USER app
|
USER app
|
||||||
EXPOSE 3001
|
EXPOSE 3001
|
||||||
CMD ["node", "dist/main.js"]
|
CMD ["node", "dist/main.js"]
|
||||||
Reference in New Issue
Block a user