Skip to content

Add Dockerfile for containerization #2

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 2 commits into
base: master
Choose a base branch
from

Conversation

rayl15
Copy link
Owner

@rayl15 rayl15 commented Jun 15, 2025

This PR adds a Dockerfile to containerize the Spring Boot application, following best practices:

  • Uses a multi-stage build to keep the final image small
  • Uses specific versions of Java for better reproducibility
  • Runs the application as a non-root user for security
  • Sets appropriate JVM options for containerized environments
  • Exposes the default Spring Boot port (8080)

The Dockerfile is configured to work with the Maven build process and properly sets up the environment for running the Spring Boot application.

@rayl15 rayl15 changed the title 🤖 AI Code Improvements - 6/15/2025 Add Dockerfile for containerization Jun 15, 2025
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