Skip to content

Commit

Permalink
fix: docker and pkg build form right directory
Browse files Browse the repository at this point in the history
  • Loading branch information
Noggling committed Oct 3, 2024
1 parent e67559d commit 2f00a1d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions client/apps/fusion-app-loader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"type": "module",
"main": "src/index.ts",
"scripts": {
"prebuild": "rm -f ../../../client/packages/portal-client/src/assets/appLegacyLoader.js",
"build:appLoader": "fusion-framework-cli app build && mv ./dist/app-bundle.js ../../../client/packages/portal-client/src/assets/appLegacyLoader.js",
"prebuild": "rm -f ../../packages/portal-client/src/assets/appLegacyLoader.js",
"build:appLoader": "fusion-framework-cli app build && mv ./dist/app-bundle.js ../../packages/portal-client/src/assets/appLegacyLoader.js",
"build:resources": "tsc && vite build",
"dev:appLoader": "fusion-framework-cli app dev -c vite.config.js",
"docker": "cd .. && sh docker-script.sh app-react",
Expand Down
3 changes: 1 addition & 2 deletions clientBackend.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ COPY ["/client", "."]
RUN yarn install --frozen-lockfile

# Build the leagasy app laoder

RUN cd client/apps/legacy-app-loader && yarn install --frozen-lockfile && yarn build:appLoader
RUN cd apps/fusion-app-loader && yarn install --frozen-lockfile && yarn build:appLoader

RUN npx yarn run build

Expand Down

0 comments on commit 2f00a1d

Please sign in to comment.