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

Building in docker with sovereign env errors out during COPY package.json #38

Open
maht0rz opened this issue Jan 7, 2025 · 0 comments · May be fixed by proto-kit/framework#254
Open
Assignees

Comments

@maht0rz
Copy link
Member

maht0rz commented Jan 7, 2025

Reported here: https://discord.com/channels/484437221055922177/1320710458512117760/1320710458512117760

Full user report:

trying to use custom framework in sovereign env but building protokit doceker gives

 => ERROR [ 5/20] COPY ./packages/cli/package.json ./packages/cli/package.json                                                                                                                            0.0s
------
 > [ 5/20] COPY ./packages/cli/package.json ./packages/cli/package.json:
------
Dockerfile:9
--------------------
   7 |     # This sucks
   8 |     COPY ./packages/api/package.json ./packages/api/package.json
   9 | >>> COPY ./packages/cli/package.json ./packages/cli/package.json
  10 |     COPY ./packages/common/package.json ./packages/common/package.json
  11 |     COPY ./packages/deployment/package.json ./packages/deployment/package.json

when I comment out this line it also gives

------
Dockerfile:27
--------------------
  25 |     COPY ./tsconfig.json .
  26 |     
  27 | >>> RUN npm run build
  28 |     
  29 |     EXPOSE 8080
--------------------
ERROR: failed to solve: process "/bin/sh -c npm run build" did not complete successfully: exit code: 1

@maht0rz maht0rz moved this to Todo in Main Board Jan 7, 2025
@joaosreis joaosreis self-assigned this Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

Successfully merging a pull request may close this issue.

2 participants