Skip to content

Commit

Permalink
docs: update install instructions for both go and docker
Browse files Browse the repository at this point in the history
  • Loading branch information
willnorris committed Oct 13, 2021
1 parent 851396b commit 3f2e270
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ image][material-animation] resized to 200px square and rotated 270 degrees:

Install the package using:

go get willnorris.com/go/imageproxy/cmd/imageproxy
go install willnorris.com/go/imageproxy/cmd/imageproxy@latest

Once installed, ensure `$GOPATH/bin` is in your `$PATH`, then run the proxy
using:
Expand Down Expand Up @@ -340,11 +340,11 @@ in the [README](https://github.com/oreillymedia/prototype-imageproxy/blob/master

### Docker ###

A docker image is available at [`willnorris/imageproxy`](https://registry.hub.docker.com/r/willnorris/imageproxy).
A docker image is available at [`ghcr.io/willnorris/imageproxy`](https://github.com/willnorris/imageproxy/pkgs/container/imageproxy).

You can run it by
```
docker run -p 8080:8080 willnorris/imageproxy -addr 0.0.0.0:8080
docker run -p 8080:8080 ghcr.io/willnorris/imageproxy -addr 0.0.0.0:8080
```

Or in your Dockerfile:
Expand Down

0 comments on commit 3f2e270

Please sign in to comment.