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

examples: docker (compose) environments fail #660

Closed
2 tasks done
lfleischmann opened this issue Mar 13, 2023 · 0 comments · Fixed by #661
Closed
2 tasks done

examples: docker (compose) environments fail #660

lfleischmann opened this issue Mar 13, 2023 · 0 comments · Fixed by #661
Labels
bug Something isn't working

Comments

@lfleischmann
Copy link
Member

lfleischmann commented Mar 13, 2023

Checklist

  • I could not find a solution in the existing issues or docs.
  • I agree to follow this project's Code of Conduct.

Describe the bug

Dockerfiles for the examples want to copy files into the container that are no longer (package-lock.json) under version control since #614.

Reproducing the bug

Run a container from any of the examples' Dockerfiles or any of the compose instructions in the frontend/examples README file, e.g.:

docker compose -f deploy/docker-compose/base.yaml -f deploy/docker-compose/todo-react.yaml -p "hanko-todo-react" up --build

Logs

=> CACHED [hanko-todo-react-todo-frontend 3/7] COPY package.json ./                                                                                                                                          0.0s
 => ERROR [hanko-todo-react-todo-frontend 4/7] COPY package-lock.json ./                                                                                                                                      0.0s
------
 > [hanko-todo-react-todo-frontend 4/7] COPY package-lock.json ./:
------
failed to solve: failed to compute cache key: "/package-lock.json" not found: not found

Configuration

No response

Hanko Version

v0.5.0

OS

macOS

OS Version

No response

Browser Version

No response

Environment

Docker
Docker Compose

Additional Context

No response

@lfleischmann lfleischmann added the bug Something isn't working label Mar 13, 2023
@lfleischmann lfleischmann changed the title examples: compose environments no longer working examples: compose environments fail Mar 13, 2023
@lfleischmann lfleischmann changed the title examples: compose environments fail examples: docker (compose) environments fail Mar 13, 2023
@github-project-automation github-project-automation bot moved this to 🆕 New in Hanko Mar 13, 2023
@github-project-automation github-project-automation bot moved this from 🆕 New to ✅ Done in Hanko Mar 14, 2023
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
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant