Skip to content
This repository was archived by the owner on Oct 14, 2024. It is now read-only.

Allow for overriding the workdir on runtime#17

Open
okkedek wants to merge 1 commit intocloudflare:masterfrom
okkedek:feature/overridable-workdir
Open

Allow for overriding the workdir on runtime#17
okkedek wants to merge 1 commit intocloudflare:masterfrom
okkedek:feature/overridable-workdir

Conversation

@okkedek
Copy link

@okkedek okkedek commented Jan 31, 2018

This way you can set the workdir at runtime, eg:
docker run -v $PWD:/mnt/src -w /mnt/src/my/module/dir --rm cloudflare/phan:edge phan

…overriding the workdir at runtime (docker run -w)
@terinjokes
Copy link
Contributor

With this change, all of the test builds fail: phan never exits. I suspect there's an issue at play when WORKDIR overlaps with a VOLUME. Can you take a look at fixing?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants