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

Fix: Rename directory containing Dockerfile #131

Merged
merged 1 commit into from
Feb 26, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.docker/ export-ignore
.github/ export-ignore
docker/ export-ignore
tests/ export-ignore
.editorconfig export-ignore
.gitattributes export-ignore
Expand Down
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,15 @@ And you should be good to go. Happy testing!
If you need a suitable dev environment you can always use docker.
Simply build the respective container and tag it via:

``docker build -t phpstan-prophecy:7.1 docker/container/php``
```
$ docker build -t phpstan-prophecy:7.1 .docker/container/php
```

You can then use this tagged container image to run php during development:

``docker run -it --rm --name phpstan-prophecy-dev -v "$PWD":/var/www/html -w /var/www/html phpstan-prohphecy:7.1 bash``
```
$ docker run -it --rm --name phpstan-prophecy-dev -v "$PWD":/var/www/html -w /var/www/html phpstan-prohphecy:7.1 bash
```

## Changelog

Expand Down