Skip to content

Getting /bin/bash: /usr/src/app/run.sh: No such file or directory #1254

@jaewie

Description

@jaewie

Hello, my current directory looks like:

.
├── app.js
├── docker-compose.yml
├── package.json
└── run.sh

And my docker-compose.yml is:

nodeapp:
  image: node:0.12
  command: /bin/bash /usr/src/app/run.sh
  volumes:
    - .:/usr/src/app
  ports:
    - 80:8000

But wIth docker-compose up I'm getting the fllowing. How can I fix this issue?

Attaching to ebdockermultipleports_nodeapp_1
nodeapp_1 | /bin/bash: /usr/src/app/run.sh: No such file or directory
ebdockermultipleports_nodeapp_1 exited with code 127
Gracefully stopping... (press Ctrl+C again to force)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions