Skip to content

Commit

Permalink
Update README.Rmd
Browse files Browse the repository at this point in the history
  • Loading branch information
danlu1 authored Apr 10, 2023
1 parent de557d5 commit a1307b3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,16 @@ The dccmonitor can be authorized to log in to Synapse using Synapse Authenticati

### Build a docker image using Dockerfile
```
docker build -t dccvalidator_pec -f Dockerfile .
docker build -t dccvalidator_1kd -f Dockerfile .
```
### Pull docker image from GitHub Container Registry
```
docker pull ghcr.io/sage-bionetworks/dccvalidator_1kd:v1.0.0
```

### Create a container from the docker image
```
docker run --rm -it -p 8100:3838 -e APP_REDIRECT_URL=<APP_REDIRECT_URL> -e R_CONFIG_ACTIVE=pec -e client_id=<Oauth client id> -e client_name=<Oauth client name> -e client_secret=<Oauth client secret> --name <container name> dccvalidator_pec
docker run --rm -it -p 8100:3838 -e APP_REDIRECT_URL=<APP_REDIRECT_URL> -e R_CONFIG_ACTIVE=1kD -e client_id=<Oauth client id> -e client_name=<Oauth client name> -e client_secret=<Oauth client secret> --name <container name> <dccvalidator_1kd or pull ghcr.io/sage-bionetworks/dccvalidator_1kd:v1.0.0>
```
Once the container is created, you can head to the APP_REDIRECT_URL you specified to enter the app.

Expand Down

0 comments on commit a1307b3

Please sign in to comment.