Skip to content

Commit

Permalink
removed comments from Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
haq committed Sep 23, 2023
1 parent fd94280 commit 8083507
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,27 +1,17 @@
FROM python

# install google chrome
RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
RUN sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'
RUN apt update
RUN apt update && apt install -y google-chrome-stable xvfb

# installing required packages
RUN apt install -y google-chrome-stable xvfb

# create the app directory
WORKDIR /app

# clone the project
RUN git clone https://github.com/charlesbel/Microsoft-Rewards-Farmer.git ./

# install dependencies
RUN pip install --root-user-action=ignore -r requirements.txt

# copy over entrypoint script
COPY entrypoint.sh ./

#
ENTRYPOINT ["/app/entrypoint.sh"]

#
CMD ["python3", "main.py", "--visible"]

0 comments on commit 8083507

Please sign in to comment.