Hey all, I'm bumping into `Turbo error: invalid sc...
# testing
m
Hey all, I'm bumping into
Turbo error: invalid scope: package  not found
while running
docker build
in Linen's root directory. My colleague got the same issue. What might be the cause?
Copy code
Step 7/28 : COPY . .
 ---> 4d9e56c72fc4
Step 8/28 : RUN turbo prune --scope=$MODULE --docker
 ---> Running in 0f5acf91d7e2
 ERROR  invalid scope: package  not found
Turbo error: invalid scope: package  not found
The command '/bin/sh -c turbo prune --scope=$MODULE --docker' returned a non-zero code: 1
e
Our docker build is pretty much outdated and we haven't used it recently too much. cc @sandro2 for more context.
I'm not sure if we're going to use it soon too.
If you want to try to build linen locally, then probably play with building the
packages
one by one to get an understanding on little things first, and then try to run
apps/web
.
s
hi @maksim36ua to use the dockerfile you will need to use buildArgs to let the dockerfile know which module you want to build. Try with this
docker build --build-arg MODULE=@linen/web .
👍 1
m
Got it, thanks! @Emil Ajdyna what's the preferred way to set up a Linen instance on our own server, is it possible?
e
@maksim36ua we're open source, so everything is possible :) the app has few different services you'd need to run (like web app or push service with websockets). We have a blog post about architecture here. We don't have a great documentation of the process right now as we're still trying to progress quickly and things might change in the future.
207 Views