Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Setup build pipeline #3

Open
cyrildewit opened this issue Jan 15, 2024 · 0 comments
Open

Setup build pipeline #3

cyrildewit opened this issue Jan 15, 2024 · 0 comments

Comments

@cyrildewit
Copy link
Contributor

Description

In order to deploy the frontend application with Docker, we need to create an optimized Dockerfile to build the application. The build should be done automatically by GitHub actions.

Technical requirements

  1. Create a build.Dockerfile that creates an production ready Docker image.
  2. Apply multi stage builds to optimize the build steps.
  3. Change the finale user to a scoped user (not root) for security reasons.
  4. Make the final image NGINX independent, so we can easily start containers to different infrastructure setups (think about cloud platforms). In those cases, a different NGINX setup may be more efficient.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant