Installation instructions for typescript ui with docker-compose
For the
typescript
ui there are currently only installation instructions for vercel. To be able to deploy on an existing server, I tried to figure out, what might be necessary using the docker examples from nextjs
and pnpm
, but I am not familiar with the toolchain used in the ui-repo (pnpm, turbo, protobuf) and so that did not succeed up to now.
Which files do pnpm generate
and pnpm build
need to succeed?
Here is the relevant snippet of my Dockerfile:
When I try to build, I get this:
#14 2.905 • Running generate
#14 2.905 • Remote caching disabled
#14 3.734 x root task //#generate (turbo run generate) looks like it invokes turbo and
#14 3.734 | might cause a loop
#14 3.734 ,-[/app/package.json:5:1]
#14 3.734 5 | "scripts": {
#14 3.734 6 | "generate": "turbo run generate",
#14 3.735 : ^^^^^^^^^^|^^^^^^^^^
#14 3.735 : -- task found here
#14 3.735 7 | "build": "turbo run build",
#14 3.735
----
#14 3.735
#14 3.750 ELIFECYCLE Command failed with exit code 1.
#14 ERROR: process "/bin/sh -c pnpm generate" did not complete successfully: exit code: 1
Running pnpm install, generate and build inside the git repository of the project works.
I also tried copying the files pnpm-workspace.yaml
and turbo.json
inside the /app directory, but that caused different errors.0 Replies