Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

Commit

Permalink
chore(README): update docker run command in README
Browse files Browse the repository at this point in the history
References the latest build image as opposed to expecting someone to pull the repo to build
  • Loading branch information
dtfiedler authored Dec 13, 2023
1 parent 24351dd commit f53c1e0
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,13 @@ curl localhost:3000/healthcheck

### Docker

Build and run the container:
Build and run the latest image:

```shell
docker build --build-arg NODE_VERSION=$(cat .nvmrc |cut -c2-8) --build-arg NODE_VERSION_SHORT=$(cat .nvmrc |cut -c2-3) . -t arns-service
docker run -e PORT=3000 -p 3000:3000 arns-service
docker run -e GATEWAY_HOST=arweave.net -p 3000:3000 ghcr.io/ar-io/arns-service:latest
```

You can run on a different port by changing the `-e PORT=3000 -p 3000:3000` to `-e PORT=4000 -p 4000:4000`, for example.
You can run on a different port by changing the `-e PORT=3000 -p 3000:3000` to `-e PORT=4000 -p 4000:4000`, for example, or specify a `.env` file with `--env-file` flag.

## Warp

Expand Down

0 comments on commit f53c1e0

Please sign in to comment.