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

Error generating the project build within Docker. #40

Open
6 tasks done
ericdmachado opened this issue Sep 14, 2024 · 1 comment
Open
6 tasks done

Error generating the project build within Docker. #40

ericdmachado opened this issue Sep 14, 2024 · 1 comment
Labels
pending triage Pending triage

Comments

@ericdmachado
Copy link

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 ericdmachado added the pending triage Pending triage label Sep 14, 2024
@lazarv
Copy link
Owner

lazarv commented Sep 16, 2024

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.

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

No branches or pull requests

2 participants