mirror of
https://github.com/Arrowar/StreamingCommunity.git
synced 2025-06-07 12:05:35 +00:00
add ffmpeg to dockerfile and edit README
This commit is contained in:
parent
721076ef55
commit
8c1dc3fcfe
15
README.md
15
README.md
@ -15,7 +15,8 @@ You can chat, help improve this repo, or just hang around for some fun in the **
|
||||
* [Requirement](#requirement)
|
||||
* [Usage](#usage)
|
||||
* [Update](#update)
|
||||
* [USAGE AND OPTIONS](#options)
|
||||
* [CONFIGURATION](#Configuration)
|
||||
* [DOCKER](#docker)
|
||||
* [TUTORIAL](#tutorial)
|
||||
|
||||
## Requirement
|
||||
@ -187,5 +188,17 @@ You can choose different vars:
|
||||
* `%(episode_name)` : Is the name of the episode
|
||||
>NOTE: You don't need to add .mp4 at the end
|
||||
|
||||
## Docker
|
||||
You can run the script in a docker container, to build the image just run
|
||||
```
|
||||
docker build -t streaming-community-api .
|
||||
```
|
||||
|
||||
and to run it use
|
||||
|
||||
```
|
||||
docker run -it -p 8000:8000 streaming-community-api
|
||||
```
|
||||
|
||||
## Tutorial
|
||||
For a detailed walkthrough, refer to the [video tutorial](https://www.youtube.com/watch?v=Ok7hQCgxqLg&ab_channel=Nothing)
|
||||
|
@ -6,6 +6,8 @@ WORKDIR /app
|
||||
ENV TEMP /tmp
|
||||
RUN mkdir -p $TEMP
|
||||
|
||||
RUN apt-get update && apt-get install -y ffmpeg
|
||||
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
CMD ["python", "run.py"]
|
Loading…
x
Reference in New Issue
Block a user