Skip to content

Commit

Permalink
add proxy env var to dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
DebXD committed Dec 25, 2022
1 parent e20c949 commit 3a87df5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ WORKDIR /usr/app/src
COPY requirements.txt ./
RUN pip install -r requirements.txt

#add Your bot token here -
ENV BOT_TOKEN=ENTER_YOUR_BOT_TOKEN__

#optional -
ENV HTTP_PROXY=None
ENV HTTPS_PROXY=None

COPY . /usr/app/src
CMD python3 bot.py

0 comments on commit 3a87df5

Please sign in to comment.