CyCoreSystems / docker-meteor

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

Blocked in step 'Starting Meteor Application ...' #50

Closed gaetandezeiraud closed 6 years ago

gaetandezeiraud commented 7 years ago

Hello, I have a problem with docker-meteor, i'm use Docker on Windows 10 and the container stand at this step ' Starting Meteor Application ...'. Without change several minutes. I have build the project with 'meteor build ../' on Windows. And use this docker-compose (same problem directly with the docker command): https://pastebin.com/VfjKxAPi

Image

Thanks for your awnser.

abate commented 6 years ago

I had a similar problem caused by the fact that my node_modules where missing. Running

meteor npm install

in my app directory solved this problem.

I'm wondering if this command should be run in the entrypoint.sh script as well. In particular if the repository if fetched via git and the node_modules are not committed.

Ulexus commented 6 years ago

@abate That's a good question. npm install is run in the server-internal directory, but now that npm is used everywhere in Meteor, that may well need to be done. At a minimum, it probably shouldn't be disruptive.

Ulexus commented 6 years ago

@abate Never mind, we're doing that already, here.

abate commented 6 years ago

not sure that npm install is the same as calling meteor npm install . For sure, it will use the npm version bundled in meteor, but it might be doing other things as well... I'm not entirely sure, but I've noticed in my project that npm install is not enough to install all the modules in node_modules directory ...

Ulexus commented 6 years ago

@abate Yeah, I'll change that to meteor npm install, which should be safer.

Ulexus commented 6 years ago

Fixed by a8acdd5efe5af2ff70450e4667920f671093011d

yusef-ho commented 6 years ago

Hello, thanks for your work. But i'm facing the same problem event i updated to latest version of image

image

Ulexus commented 6 years ago

I don't see any errors in that screenshot, but did you see any in the backscroll? Anyway, how do you know it isn't working? Have you expose the port you expect it to be running on? Would you care to post your invocation commandline for verification?