Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding nodejs image does not work #119

Open
alpham8 opened this issue Apr 18, 2020 · 0 comments
Open

adding nodejs image does not work #119

alpham8 opened this issue Apr 18, 2020 · 0 comments

Comments

@alpham8
Copy link

alpham8 commented Apr 18, 2020

Hi,
I tried to add the official nodejs image, so that we can run node and npm.

However, by following the readme on how to add other images, this seems not to work in docker-compose.yml file:

    node:
        image: node:12.16.2-alpine3.9
        volumes_from:
            - php
            - nginx

Then I ran:

docker-compose down
docker-compose up -d

To get my added node container.

I can't access it via

docker-compose exec node bash

To install my dependencies in my symfony project.

Any help would be great 😄

Cheers,
alpham8

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

No branches or pull requests

1 participant