-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
34 lines (27 loc) · 954 Bytes
/
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
28
29
30
31
32
33
34
FROM python:3.9
# ARG TWITTER_ACCESS_TOKEN
# ARG TWITTER_ACCESS_TOKEN_SECRET
# ARG TWITTER_BEARER_TOKEN
# ARG TWITTER_CONSUMER_KEY
# ARG TWITTER_CONSUMER_SECRET
# ARG TWITTER_MIXPANEL_TOKEN
# ARG TWITTER_ACCOUNT_ID
# ARG DISCORD_TOKEN
# ARG DISCORD_MIXPANEL_TOKEN
# ARG DISCORD_SERVER_ID
# ENV TWITTER_ACCESS_TOKEN $TWITTER_ACCESS_TOKEN
# ENV TWITTER_ACCESS_TOKEN_SECRET $TWITTER_ACCESS_TOKEN_SECRET
# ENV TWITTER_BEARER_TOKEN $TWITTER_BEARER_TOKEN
# ENV TWITTER_CONSUMER_KEY $TWITTER_CONSUMER_KEY
# ENV TWITTER_CONSUMER_SECRET $TWITTER_CONSUMER_SECRET
# ENV TWITTER_MIXPANEL_TOKEN $TWITTER_MIXPANEL_TOKEN
# ENV TWITTER_ACCOUNT_ID $TWITTER_ACCOUNT_ID
# ENV DISCORD_TOKEN $DISCORD_TOKEN
# ENV DISCORD_MIXPANEL_TOKEN $DISCORD_MIXPANEL_TOKEN
# ENV DISCORD_SERVER_ID $DISCORD_SERVER_ID
WORKDIR /usr/src/app
COPY requirements.txt ./
RUN pip install --upgrade pip
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
CMD [ "python", "./main.py" ]