Open harusametime opened 3 weeks ago
Hey @harusametime! I'm here to help you with any bugs, questions, or contributions. Let's tackle this issue together!
Your suggestion to change the path in ecr.ts
from:
const backendPath = path.join(__dirname, "../../../../../", "langflow")
to:
const backendPath = path.join(__dirname, "../../../../", "docker")
is correct. This adjustment correctly points to the langflow/docker/cdk.Dockerfile
, resolving the issue when running cdk bootstrap
[1].
To continue talking to Dosu, mention @dosu.
Bug Description
Hi I tried to run AWS CDK on AWS cloud9 and my laptop (Mac book) for deploying Langflow onto AWS, but
cdk bootstrap
raises the error.This says
ecr.ts
does not findlangflow/cdk.Dockerfile
and we can find the file atlangflow/docker/cdk.Dockerfile
in this repo. Thus, the following fix on the line may be needed. https://github.com/langflow-ai/langflow/blob/main/scripts/aws/lib/construct/ecr.ts#L22should be
The fix works for me. Could you check my suggestion?
Reproduction
Following the steps in this readme, we will see the error when running
cdk bootstrap
. https://github.com/langflow-ai/langflow/tree/main/scripts/awsExpected behavior
Complete
cdk bootstrap
without errors.Who can help?
No response
Operating System
Sonoma 14.4 (mac) and Amazon Linux 2023 (Cloud9)
Langflow Version
1.0.15
Python Version
3.12
Screenshot
No response
Flow File
No response