react-server icon indicating copy to clipboard operation
react-server copied to clipboard

Error generating the project build within Docker.

Open ericdmachado opened this issue 1 year ago • 1 comments

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

ericdmachado avatar Sep 14 '24 15:09 ericdmachado

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.

lazarv avatar Sep 16 '24 07:09 lazarv

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.

github-actions[bot] avatar Jun 16 '25 00:06 github-actions[bot]