Skip to content

Use multi-stage builds in Dockerfiles #35

Description

@NoeTerrier

Copy from issue clicepfl/website#36 of CLIC website:

Should we use multi-stage builds?

This would improve the size and the security of the images, because the build tools would stay in the builder step image. Then we only transfer the required compiled assets and have a final image that is minimal and that only contains the runtime and the executed code.

See original discussion in clicepfl/website#33 (comment)_

Other links:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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