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

docker: build error #8

Closed
1 task
avelino opened this issue Nov 15, 2023 · 1 comment · Fixed by #13
Closed
1 task

docker: build error #8

avelino opened this issue Nov 15, 2023 · 1 comment · Fixed by #13
Assignees
Labels
bug Something isn't working
Milestone

Comments

@avelino
Copy link
Member

avelino commented Nov 15, 2023

errors:

~/p/a/t/dialog ❯❯❯ docker compose up                                                                                                                                                                                        ...
...
...
 => CACHED [web stage-1 3/6] COPY --from=dependencies /dependencies/requirements.txt ./requirements.txt                                                                                                                        0.0s
 => ERROR [web stage-1 4/6] COPY /bundle/ /bundle/                                                                                                                                                                             0.0s
------
 > [web stage-1 4/6] COPY /bundle/ /bundle/:
------
failed to solve: failed to compute cache key: failed to calculate checksum of ref b9ec112a-a178-474a-9e8e-ed1fa40ad3bb::dq7mjpoo4myi052qz0z310xmq: "/bundle": not found
~/p/a/t/dialog ❯❯❯                                                                                                                                                     
dialog-web-1  |   File "/app/main.py", line 6, in <module>
dialog-web-1  |     from .models.db import session, engine
dialog-web-1  | ImportError: attempted relative import with no known parent package
dialog-web-1 exited with code 1

need:

  • when the container comes up, it must process the load_data (of makefile), docker ENTRYPOINT
    • update the database with the new embeds
    • if there is an "index" we should update
@avelino avelino added the bug Something isn't working label Nov 15, 2023
@avelino avelino added this to the mvp-chat milestone Nov 15, 2023
@avelino avelino changed the title docker: build error "/bundle": not found docker: build error Nov 15, 2023
@vmesel vmesel self-assigned this Nov 15, 2023
@vmesel
Copy link
Member

vmesel commented Nov 15, 2023

@avelino try running it from the main branch and latest commit, please.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: ✅ Done
Development

Successfully merging a pull request may close this issue.

2 participants