Skip to content

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Morphik UI for Docker #93

wants to merge 1 commit into from

Conversation

dalton5
Copy link

@dalton5 dalton5 commented Apr 18, 2025

No description provided.

Copy link

prophet-code-review-bot bot commented Apr 18, 2025

Error: Agent timed out after 12 minutes of thinking

Copy link

@cubic-dev-ai cubic-dev-ai bot left a 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'
Copy link

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:
Copy link

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 && \
Copy link

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
Copy link

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

@CLAassistant
Copy link

CLAassistant commented Apr 18, 2025

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants