Merge branch 'master' of https://github.com/ForgQi/bilibiliupload
This commit is contained in:
commit
d6fdcef9ec
2 files changed
+19
-4
No files matched your search
+6
-4
@@ -1,6 +1,8 @@
|
||||
FROM jrottenberg/ffmpeg
|
||||
#VOLUME /opt/data
|
||||
|
||||
RUN apt-get update && apt-get install -y locales && rm -rf /var/lib/apt/lists/* \
|
||||
&& localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
|
||||
ENV LANG en_US.utf8
|
||||
RUN export DEBIAN_FRONTEND=noninteractive \
|
||||
&& apt-get update \
|
||||
&& apt-get install -y locales \
|
||||
@@ -44,10 +46,10 @@ COPY common /opt/common
|
||||
COPY engine /opt/engine
|
||||
COPY ykdl /opt/ykdl
|
||||
COPY Bilibili.py /opt/
|
||||
RUN chmod 755 /opt/Blibili.py
|
||||
RUN chmod 755 /opt/Bilibili.py
|
||||
COPY ["config(demo).yaml", "/opt/config.yaml"]
|
||||
|
||||
WORKDIR /opt
|
||||
ENTRYPOINT ["./Bilibili.py", "start"]
|
||||
ENTRYPOINT ["./Bilibili.py"]
|
||||
|
||||
#EXPOSE 9515/tcp
|
||||
EXPOSE 9515/tcp
|
||||
@@ -3,6 +3,19 @@
|
||||
支持自动录制各大直播平台,上传直播录像到bilibili。
|
||||
相关设置在config.yaml文件中,如直播间地址,b站账号密码
|
||||
|
||||
## docker一键使用 🔨
|
||||
```bash
|
||||
cd bilibiliupload
|
||||
sudo docker build . -t sc2
|
||||
sudo docker -d run sc2
|
||||
```
|
||||
## 进入容器 📦
|
||||
```bash
|
||||
sudo docker ps (找到你的imageId)
|
||||
sudo docker exec -it imageId /bin/bash
|
||||
```
|
||||
|
||||
## 其他使用
|
||||
使用需要修改文件名**config(demo).yaml** ➡ **config.yaml**
|
||||
|
||||
>## Linux系统下使用方法:
|
||||
|
||||
Reference in new issue
Block a user