-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
44 lines (34 loc) · 824 Bytes
/
Dockerfile
File metadata and controls
44 lines (34 loc) · 824 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
37
38
39
40
41
42
43
FROM alpine:latest
WORKDIR /home
RUN apk update
#Install Python and pip3
RUN apk add --no-cache python3-dev \
&& apk add --no-cache py3-pip
RUN apk add --no-cache \
libffi-dev \
libressl-dev \
musl-dev \
build-base
RUN pip3 install urllib3==1.25.11
RUN apk add --no-cache jpeg-dev zlib-dev
RUN pip3 install APScheduler \
cryptography \
facebook-sdk \
Flask \
Flask-Cors \
instabot \
numpy \
Pillow \
oauthlib \
python-telegram-bot \
requests \
tweepy
#Setting timezone to Europe/Rome
RUN apk add tzdata
RUN cp /usr/share/zoneinfo/Europe/Rome /etc/localtime
RUN echo "Europe/Rome" > /etc/timezone
RUN apk del tzdata
COPY . /home/
RUN chmod +x /home/run.sh
RUN /home/run.sh
ENTRYPOINT sh