Skip to content

Commit

Permalink
No need tag with platform.
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric-Guo committed Nov 9, 2023
1 parent 363b510 commit b5ebdeb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ bin/rails test:all
# Build & Run in docker mode

```bash
docker build --tag ericguo/oauth2id:main-$(uname -m) .
docker run -p 3000:3000 -d --restart always --name oauth2id --env RAILS_MASTER_KEY=YourMasterKey -v ./storage:/rails/storage ericguo/oauth2id:main-$(uname -m)
docker build --tag ericguo/oauth2id:main .
docker run -p 3000:3000 -d --restart always --name oauth2id --env RAILS_MASTER_KEY=YourMasterKey -v ./storage:/rails/storage ericguo/oauth2id:main
# If can not start in above, do the debug.
docker run --env RAILS_MASTER_KEY=YourMasterKey -v ./storage:/rails/storage -it ericguo/oauth2id:main-arm64 bash
docker run --env RAILS_MASTER_KEY=YourMasterKey -v ./storage:/rails/storage -it ericguo/oauth2id:main bash
# After success, push manually.
docker push ericguo/oauth2id:main-$(uname -m)
docker push ericguo/oauth2id:main
```

# First user is admin
Expand Down

0 comments on commit b5ebdeb

Please sign in to comment.