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

Update node image versions. Label docker tag for anedot specific images #9557

Closed
wants to merge 1 commit into from

Conversation

strong-code
Copy link

@strong-code strong-code commented Jan 10, 2025

Update node alpine to more recent versions. Update makefile docker tags to our internal anedot-twenty image tags for ECR. Also rebases on top of latest upstream changes.

Copy link

Welcome!

Hello there, congrats on your first PR! We're excited to have you contributing to this project.
By submitting your Pull Request, you acknowledge that you agree with the terms of our Contributor License Agreement.

Generated by 🚫 dangerJS against 541fa2b

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Summary

Updated Node.js version in Docker configuration and modified image tagging for Anedot-specific deployment, with potential deployment issues due to tag mismatch.

  • Inconsistent image tags between prod-build (anedot-twenty) and prod-run (twenty) in packages/twenty-docker/Makefile will cause runtime failures
  • Updated Node.js base image from 18.17.1-alpine to 18.20-alpine in packages/twenty-docker/twenty/Dockerfile, maintaining compatibility with package.json requirements
  • Missing Anedot-specific Docker labels mentioned in PR title but not implemented in Dockerfile

💡 (1/5) You can manually trigger the bot by mentioning @greptileai in a comment!

2 file(s) reviewed, 2 comment(s)
Edit PR Review Bot Settings | Greptile

Comment on lines 4 to 5
prod-run:
@docker run -d -p 3000:3000 --name twenty twenty
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

logic: Image tag 'twenty' doesn't match the 'anedot-twenty' tag used in prod-build. This will cause prod-run to fail.

@@ -48,7 +48,7 @@ RUN npx nx build twenty-front


# Final stage: Run the application
FROM node:18.17.1-alpine as twenty
FROM node:18.20-alpine as twenty

# Used to run healthcheck in docker
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

style: tsx is installed globally but not pinned to a specific version. Consider pinning for reproducibility

@strong-code strong-code deleted the colin/docker-fixes branch January 10, 2025 21:37
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.

1 participant