Skip to content

The Dockerfile can be optimized #6

@Ealenn

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

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