chore: fix API build and lerna

This commit is contained in:
Ruslan Konviser
2024-12-21 23:01:15 +01:00
parent 2f4471627c
commit 25aa2f3952
2 changed files with 4 additions and 2 deletions
+4 -1
View File
@@ -309,9 +309,12 @@ FROM node:20.11.1-alpine3.19 AS production
WORKDIR /srv/gauzy
COPY --chown=node:node --from=dependencies /wait /entrypoint.prod.sh /entrypoint.compose.sh ./
# COPY --chown=node:node --from=prodDependencies /srv/gauzy/node_modules/ ./node_modules/
COPY --chown=node:node --from=build /srv/gauzy/packages/ ./packages/
# Exclude @gauzy directories before copying because we copy those within custom webpack
RUN find /srv/gauzy/node_modules -depth -type d -name '@gauzy' -exec rm -rf {} +
COPY --chown=node:node --from=prodDependencies /srv/gauzy/node_modules/ ./node_modules/
# Copy static assets files which used for example in the seeds (e.g. images for features, reports, screenshots)
COPY --chown=node:node apps/api/src/assets apps/api/src/assets
-1
View File
@@ -8,7 +8,6 @@
},
"packages": ["apps/*", "packages/*", "packages/plugins/*"],
"useNx": true,
"useWorkspaces": true,
"command": {
"exec": {
"scope": ["@ngx-starter-kit/*"]