-
Notifications
You must be signed in to change notification settings - Fork 84
Add files for building into a container #57
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,8 @@ | ||||||||||||||||||||||||||
| FROM docker.io/node:20-bullseyeAdd commentMore actions | ||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||
| COPY src $HOME/copilot-dash | ||||||||||||||||||||||||||
|
||||||||||||||||||||||||||
| COPY src $HOME/copilot-dash | |
| COPY src dashboard |
Copilot
AI
Jul 22, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The command tries to change to 'dashboard' directory, but the COPY instruction above copies to '$HOME/copilot-dash'. The directory names are inconsistent.
| RUN cd dashboard && npm install | |
| WORKDIR dashboard | |
| RUN cd $HOME/copilot-dash && npm install | |
| WORKDIR $HOME/copilot-dash |
Copilot
AI
Jul 22, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The WORKDIR references 'dashboard' but this directory doesn't exist based on the COPY instruction that uses '$HOME/copilot-dash'.
| RUN cd dashboard && npm install | |
| WORKDIR dashboard | |
| RUN cd $HOME/copilot-dash && npm install | |
| WORKDIR $HOME/copilot-dash |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| services: | ||
| copilot-metrics-dashboard: | ||
| build: | ||
| context: . | ||
| dockerfile: Containerfile | ||
| ports: | ||
| - "3000:3000" | ||
| env_file: | ||
| - .env | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The base image line contains extraneous text 'Add commentMore actions' that appears to be UI artifacts. It should be 'FROM docker.io/node:20-bullseye'.