Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: build image with dockerfile always fails #4702

Closed
ahmad-swanblocks opened this issue May 15, 2024 · 4 comments
Closed

[BUG]: build image with dockerfile always fails #4702

ahmad-swanblocks opened this issue May 15, 2024 · 4 comments

Comments

@ahmad-swanblocks
Copy link

Describe the bug
When trying to build the image using GitHub action it always fails.
After tracking and reviewing the dockerfile, I've found that the failure is in building the UI Core project.
I've tried to build the UI Core locally and also failed.

To Reproduce
Steps to reproduce the behavior:

  1. Run this command: npx nx run-many --target=build --projects=ui-core --configuration production
  2. See error

Expected behavior
It should build successfully the same as the server api project, trying to build the server locally works fine with this command: npx nx run-many --target=build --projects=server-api --configuration production

Screenshots
image

Additional context
Run the app with "npm start" works fine.
Building the server with command "npx nx run-many --target=build --projects=server-api --configuration production" also works fine

@abuaboud
Copy link
Contributor

Hi,

We do use github actions to build and it works, Is there any steps to reproduce?

https://github.com/activepieces/activepieces/blob/main/.github/workflows/release-rc.yml

@ahmad-swanblocks
Copy link
Author

Hi @abuaboud,
I will try with this file but I have a question, should I use depot to build the docker image or it should also work with the standard docker build action in GitHub actions?

Thanks!

@ahmad-swanblocks
Copy link
Author

@abuaboud Thanks a lot, it works :).
I've discovered that it is all about typescript strict rules on initialization of variables, locally (with npm start) works fine but the issue appears when I try to build the docker image. Basically, I've ignored the TS warnings and that's why :).

So we can close the issue, many thanks again!

@ahmad-swanblocks ahmad-swanblocks closed this as not planned Won't fix, can't repro, duplicate, stale May 16, 2024
Copy link

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If this issue is continuing with the latest stable version of Activepieces, please open a new issue that references this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants