Skip to content

Better docker image #20

@chapa

Description

@chapa

Hi,

I've been watching docker-related files to fix a problem I had (see #19), and it doesn't seem to be "production-ready" IMO.

Here's some issues I see :

  • npm install is done when the container is started (instead of when the image is built)
  • the container runs nodemon instead of node
  • a volume map the entire root folder (to avoid npm install on each docker run I guess)

Also, resolving these issues would allow to push the image on the docker hub, which would come in handy !

If you're interested I can work on a PR to make things better.

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