Skip to content

Dockerize#8

Open
simone-pignotti wants to merge 1 commit into
neherlab:masterfrom
simone-pignotti:docker
Open

Dockerize#8
simone-pignotti wants to merge 1 commit into
neherlab:masterfrom
simone-pignotti:docker

Conversation

@simone-pignotti

Copy link
Copy Markdown

Hello,

I have added a very simple Dockerfile and docker-compose.yml based on the official node.js documentation.

  • The Dockerfile defines the building process (node:14 base image + npm install) and the entry point (npm start)
  • The docker-compose.yml mounts the folders public, routes and views from the host to the container, to allow more flexible addition of new data (note that the three folders are added also to .dockerignore, so they are not copied into the base image), and defines the port to bind (defined in .env)

Let me know if you have any questions and whether you are interested in merging this, I am going to test it more extensively during the next few weeks.

Cheers
Simone

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant