Error generating the project build within Docker.
Describe the bug
I'm trying to build the project inside a docker image. And when I run the "pnpm start" command, the server doesn't run. Running it on the local machine works normally.
Reproduction
https://github.com/ericdmachado/react-server-test
Steps to reproduce
You need to have docker and docker compose running.
Docker https://docs.docker.com/engine/install/
Docker Compose https://docs.docker.com/compose/install/
Then, run the command docker compose -up -d --build --force-recreate
System Info
Node 20-alpine and npm 10.8.2
Used Package Manager
pnpm
Logs
No response
Validations
- [X] Follow our Code of Conduct
- [X] Read the Contributing Guidelines.
- [X] Read the docs.
- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- [X] Check that this is a concrete bug. For Q&A open a GitHub Discussion.
- [X] The provided reproduction is a minimal reproducible example of the bug.
Hi @ericdmachado! I can't reproduce your issue using the latest version of @lazarv/react-server. You no longer need to install @lazarv/react-server-router to use the file-system based routing.
Could you please share the logs? It would help to get a better understanding on the issue. Please use the instructions provided in the issue template to collect the information. When using Docker start your container providing the DEBUG=* environment variable to get a full debug log and please share the container logs.
This issue has been locked since it has been closed for more than 30 days.
If you have found a concrete bug or regression related to it, please open a new bug report with a reproduction against the latest version of @lazarv/react-server. If you have any other comments you should create a new discussion.