Skip to content

Commit

Permalink
fix outdated docker build.
Browse files Browse the repository at this point in the history
  • Loading branch information
m1k1o committed Sep 25, 2021
1 parent f1c5756 commit 38d2012
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,6 @@ In these profile directories, actual profiles are located in `hls/` and `http/`,

## Docker

*TODO: outdated docker section*

### Build

```sh
Expand All @@ -82,7 +80,7 @@ docker build -t go-transcode:latest .
docker run --rm -d \
--name="go-transcode" \
-p "8080:8080" \
-v "${PWD}/streams.yaml:/app/streams.yaml" go-transcode:latest
-v "${PWD}/transcode.yaml:/app/transcode.yaml" go-transcode:latest
```

## Nvidia GPU support (docker)
Expand All @@ -104,7 +102,7 @@ docker run --rm -d \
--gpus=all \
--name="go-transcode-nvidia" \
-p "8080:8080" \
-v "${PWD}/streams.yaml:/app/streams.yaml" go-transcode-nvidia:latest
-v "${PWD}/transcode.yaml:/app/transcode.yaml" go-transcode-nvidia:latest
```

### Supported inputs
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ services:
ports:
- "8080:8080"
volumes:
- ./streams.yaml:/app/streams.yaml
- ./transcode.yaml:/app/transcode.yaml
command: serve -d

0 comments on commit 38d2012

Please sign in to comment.