diff --git a/client/apps/fusion-app-loader/package.json b/client/apps/fusion-app-loader/package.json index c59a94dd..2a6fc0b1 100644 --- a/client/apps/fusion-app-loader/package.json +++ b/client/apps/fusion-app-loader/package.json @@ -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", diff --git a/clientBackend.Dockerfile b/clientBackend.Dockerfile index 4ac6d52f..4a9edc65 100644 --- a/clientBackend.Dockerfile +++ b/clientBackend.Dockerfile @@ -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