-
Notifications
You must be signed in to change notification settings - Fork 221
Morphik UI for Docker #93
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?
Conversation
Error: Agent timed out after 12 minutes of thinking |
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.
mrge found 4 issues across 3 files. View them in mrge.io
volumes: | ||
- ./ui-component:/app/ui-component | ||
working_dir: /app/ui-component | ||
command: bash -c '. /root/.nvm/nvm.sh && nvm use --lts && npm install && npm run dev' |
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.
Running 'npm install' at container startup can introduce inconsistency if package versions change between deployments
- ./ui-component:/app/ui-component | ||
working_dir: /app/ui-component | ||
command: bash -c '. /root/.nvm/nvm.sh && nvm use --lts && npm install && npm run dev' | ||
depends_on: |
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.
Missing health check condition for the morphik dependency
&& rm -rf /var/lib/apt/lists/* | ||
|
||
# Install NVM and Node.js LTS, make Node & npm available at runtime | ||
RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.2/install.sh | bash && \ |
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.
Piping remote scripts directly to bash without verification is a security risk
@@ -0,0 +1,28 @@ | |||
FROM ubuntu:22.04 |
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.
Dockerfile runs as root user which is a security risk
No description provided.