Update Dockerfile

This commit is contained in:
ForgQi committed 2022-02-01 22:00:20 +08:00
1 parent 6bf2928db9
commit 36441b2ea8
2 files changed
+7 -20

No files matched your search

+4 -17
View File
@@ -1,26 +1,13 @@
FROM jrottenberg/ffmpeg
FROM ubuntu
VOLUME /opt
RUN export DEBIAN_FRONTEND=noninteractive \
&& apt-get update \
&& apt install build-essential -y \
&& apt install libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev -y \
&& apt install wget -y \
&& apt install openssl -y \
&& apt install curl -y \
&& apt install libsqlite3-dev -y \
&& wget https://www.python.org/ftp/python/3.7.3/Python-3.7.3.tgz \
&& tar -xvf Python-3.7.3.tgz \
&& cd Python-3.7.3 \
&& ./configure --enable-loadable-sqlite-extensions \
&& make \
&& make install \
&& ln -s /usr/local/bin/pip3 /usr/bin/pip3 \
&& ln -s /usr/local/bin/python3 /usr/bin/python3 \
# && apt-get install -y python3-pip \
&& apt install ffmpeg -y \
&& apt install -y python3-pip \
&& apt-get install -y git \
&& apt-get install -y zip \
&& curl -fsSL https://deb.nodesource.com/setup_14.x | bash - \
&& apt-get install -y nodejs \
&& pip install quickjs \
# && apt-get install -y unzip \
&& \
DL=https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb \
+3 -3
View File
@@ -48,9 +48,9 @@ docker run --name biliup -v /host/path:/opt -d ghcr.io/forgqi/biliup/caution
```
### 方式二
```bash
cd bilibiliupload
sudo docker build . -t sc2
sudo docker run -d sc2
cd biliup
sudo docker build . -t biliup
sudo docker run -d biliup
```
### 进入容器 📦
```bash