danass / Dockerfile-Meteor

Dockerfile for Meteor working as of 20/06/2024

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dockerfile for meteor, 20/06/2024.

After struggling with Docker containerisation of a Meteor installation, I finally succeded and here is my working Dockerfile, using node 14 and fresh meteor installation command curl https://install.meteor.com/ | sh.

Go in your_app folder and place the Dockerfile in it and run following commands:

docker build -t myapp .

docker run -p 3000:3000 myapp

Mongo tools will be installed inside your docker, so you can enter the docker container and run meteor mongo -U to check your current mongo connection, and restore a previous database if needed, using mongorestore.

This Dockerfile is working as of 20/06/2024.

About

Dockerfile for Meteor working as of 20/06/2024

License:GNU General Public License v3.0


Languages

Language:Dockerfile 100.0%