How to deploy with AWS Lambda Web Adapter and monorepo? #9434
tomaszferens
started this conversation in
General
Replies: 1 comment
-
I'm also trying to run Remix on Lambda using AWS-lambda-adapter. Late to the party, but port 3000 is reserved. Not that it will solve your problem, but for others who might waste time on port issues:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I found this project https://github.com/awslabs/aws-lambda-web-adapter that let's you deploy Node.js servers to Lambda easily.
I'm having a hard time with deploying Remix with it for some reason.
I'm using pnpm workspaces and here is how my
apps/web/Dockerfile
looks like:The Dockerfile is pretty straightforward, it does pnpm install in root directory and runs a build command for the "web" app. The CMD is a script from
<root>/package.json
:Unfortunately it doesn't work. I see on CloudWatch very random errors like these:
or
or
Looks like it can't find some random packages 🤔
Anyone had a success with deploying Remix to Lambda with the Web Adapter?
Beta Was this translation helpful? Give feedback.
All reactions