CyCoreSystems / docker-meteor

Dockerfile and script for running Meteor on Docker
MIT License
120 stars 73 forks source link

How to set DEPLOY_KEY #2

Closed Maxim-Filimonov closed 9 years ago

Maxim-Filimonov commented 9 years ago

Do I need to build a Dockerfile on top of your container to use? I'm trying to do:

=> cp: cannot stat '/Users/maxim/repos/frontend/docker_meteor': No such file or directory

I have tried to set key permissions to 777 but that doesn't seem to help.

Ulexus commented 9 years ago

Make sure that the DEPLOY_KEY is available inside the container. If you are referencing an external file, you'll want to pull it in with -v. Something like: docker run --rm -e REPO= -e MONGO_URL= -e DEPLOY_KEY=/docker_meteor -v /Users/maxim/repos/frontend/docker_meteor:/docker_meteor ulexus/meteor

Ulexus commented 9 years ago

Please reopen if this isn't your issue; sorry about that