fix docker

master
Aevann 2023-07-07 03:25:23 +03:00
parent fdf9e68801
commit 5d5d3d9978
1 changed files with 2 additions and 0 deletions

View File

@ -19,6 +19,7 @@ COPY requirements.txt /requirements.txt
COPY startup_docker_chat.sh /s COPY startup_docker_chat.sh /s
RUN pip3 install -r /requirements.txt RUN pip3 install -r /requirements.txt
RUN apt install -y git
RUN pip3 install "git+https://github.com/ytdl-org/youtube-dl.git" RUN pip3 install "git+https://github.com/ytdl-org/youtube-dl.git"
RUN mkdir /images RUN mkdir /images
@ -40,6 +41,7 @@ RUN rm /etc/nginx/sites-available -r
RUN rm /etc/nginx/sites-enabled/default RUN rm /etc/nginx/sites-enabled/default
RUN mkdir /etc/nginx/includes RUN mkdir /etc/nginx/includes
RUN apt install -y wget
RUN t=$(mktemp) && wget 'https://dist.1-2.dev/imei.sh' -qO "$t" && bash "$t" && rm "$t" RUN t=$(mktemp) && wget 'https://dist.1-2.dev/imei.sh' -qO "$t" && bash "$t" && rm "$t"
EXPOSE 80/tcp EXPOSE 80/tcp