Skip to content

Commit

Permalink
Added: instructions for using outside local folder
Browse files Browse the repository at this point in the history
  • Loading branch information
james2doyle committed Dec 7, 2021
1 parent ef50858 commit 3847cf8
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,22 @@

Docker image for PHP under build environments

[View latest container image](https://github.com/enginedigital/php-docker/pkgs/container/php-docker)

### Building

```sh
docker build -t php81 .
```

### Running
### Running Locally

```sh
docker run -it --volume="$PWD:/app" --workdir="/app" --entrypoint=/bin/bash php81
```

### Running Remotely

```sh
docker run -it --volume="$PWD:/app" --workdir="/app" --entrypoint=/bin/bash ghcr.io/enginedigital/php-docker:main
```

0 comments on commit 3847cf8

Please sign in to comment.