forked from AbirHasan2005/PyroFilesStoreBot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
36 lines (30 loc) · 709 Bytes
/
Dockerfile
File metadata and controls
36 lines (30 loc) · 709 Bytes
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
28
29
30
31
32
33
34
35
36
FROM ubuntu:18.04
ENV DEBIAN_FRONTEND=noninteractive
WORKDIR /app
RUN apt-get update
RUN echo y | apt-get install locales
RUN echo y | apt install build-essential
RUN apt -qq install -y --no-install-recommends \
curl \
git \
gnupg2 \
wget
RUN set -ex; \
apt-get update \
&& apt-get install -y --no-install-recommends \
busybox \
git \
python3 \
python3-dev \
python3-pip \
python3-lxml \
pv \
&& apt-get autoclean \
&& apt-get autoremove \
&& rm -rf /var/lib/apt/lists/*
RUN pip3 install setuptools wheel yarl multidict
COPY requirements.txt .
RUN pip3 install -r requirements.txt
RUN dpkg-reconfigure locales
COPY . /app
CMD ["python3", "bot.py"]