diff --git a/Dockerfile b/Dockerfile index cbff4d459..bbe217cd9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,8 +14,6 @@ RUN apt install -y mailutils COPY requirements.txt /etc/requirements.txt -COPY env .env - RUN pip3 install -r /etc/requirements.txt RUN mkdir /images diff --git a/env b/env_template similarity index 100% rename from env rename to env_template diff --git a/readme.md b/readme.md index cca9bae85..768063d7e 100644 --- a/readme.md +++ b/readme.md @@ -11,6 +11,8 @@ git clone https://fsdfsd.net/rDrama/rDrama.git cd rDrama +cp env_template .env + docker-compose down --rmi all --remove-orphans --volumes docker-compose up diff --git a/ubuntu_setup.sh b/ubuntu_setup.sh index db5ab270f..97187390e 100644 --- a/ubuntu_setup.sh +++ b/ubuntu_setup.sh @@ -7,7 +7,7 @@ apt -y install git redis-server python3-pip ffmpeg nginx snapd ufw gpg-agent hto git config --global credential.helper store cd /rDrama git config branch.frost.rebase true -cp ./env ./.env +cp ./env_template ./.env . ./.env mkdir /scripts