Compare commits

...

2 Commits

Author SHA1 Message Date
Thomas 7191bc063c
ghcr.io package 2021-04-17 16:41:27 +12:00
Thomas df34a3f421
ghcr.io package 2021-04-17 16:40:53 +12:00
2 changed files with 2 additions and 5 deletions

View File

@ -2,7 +2,7 @@ version: '2.7'
services: services:
piston_api: piston_api:
build: api image: ghcr.io/engineer-man/piston
restart: always restart: always
ports: ports:
- 2000:2000 - 2000:2000

View File

@ -117,10 +117,7 @@ cd cli && npm i && cd -
### Installation ### Installation
```sh ```sh
echo "$GITHUB_TOKEN" | docker login https://docker.pkg.github.com -u "$GITHUB_USERNAME" --password-stdin docker run -v $PWD:'/piston' --tmpfs /piston/jobs -dit -p 2000:2000 --name piston_api ghcr.io/engineer-man/piston
# Change out the $GITHUB_TOKEN and $GITHUB_USERNAME with appropritate values
docker run -v $PWD:'/piston' --tmpfs /piston/jobs -dit -p 2000:2000 --name piston_api docker.pkg.github.com/engineer-man/piston/api:latest
``` ```
<br> <br>