Skip to content

The Dockerfile can be optimized #6

Description

@Ealenn
  • Build your code with mhart/alpine-node:8 as api_nodejs
  • Copy in mhart/alpine-node:slim-8 as final from api_nodejs your built application
  • Run application with final

https://registry.hub.docker.com/r/mhart/alpine-node/tags
https://github.com/Ealenn/Echo-Server/blob/master/Dockerfile

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions