Skip to content

Setup build pipeline #3

@cyrildewit

Description

@cyrildewit

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions