forked from GreyMatter658/scalingo-mirror-leech-bot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
27 lines (20 loc) · 1.01 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
FROM ubuntu:22.04
WORKDIR /usr/src/app
SHELL ["/bin/bash", "-c"]
RUN chmod 777 /usr/src/app
RUN apt-get -y update && DEBIAN_FRONTEND="noninteractive" \
apt-get install -y apt-utils && DEBIAN_FRONTEND="noninteractive" \
apt-get install -y python3 python3-pip libglib2.0 libnss3 libgconf-2-4 libfontconfig1 wget \
tzdata p7zip-full p7zip-rar xz-utils curl pv jq ffmpeg \
locales git unzip rtmpdump libmagic-dev libcurl4-openssl-dev \
libssl-dev libc-ares-dev libsodium-dev libcrypto++-dev \
libsqlite3-dev libfreeimage-dev libpq-dev libffi-dev \
&& locale-gen en_US.UTF-8 && \
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \
&& echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list
RUN apt-get update && apt-get -y install google-chrome-stable
ENV LANG="en_US.UTF-8" LANGUAGE="en_US:en"
COPY requirements.txt .
RUN pip3 install --no-cache-dir -r requirements.txt
COPY . .
CMD ["bash", "start.sh"]