You've already forked wakapi-readme-stats
Update Dockerfile
This commit is contained in:
13
Dockerfile
13
Dockerfile
@@ -1,4 +1,4 @@
|
|||||||
FROM python:latest
|
FROM ubuntu:latest
|
||||||
|
|
||||||
# Install dependencies.
|
# Install dependencies.
|
||||||
ADD requirements.txt /requirements.txt
|
ADD requirements.txt /requirements.txt
|
||||||
@@ -6,6 +6,13 @@ ADD main.py /main.py
|
|||||||
ADD loc.py /loc.py
|
ADD loc.py /loc.py
|
||||||
ADD make_bar_graph.py /make_bar_graph.py
|
ADD make_bar_graph.py /make_bar_graph.py
|
||||||
ADD colors.json /colors.json
|
ADD colors.json /colors.json
|
||||||
RUN pip install -r requirements.txt
|
|
||||||
RUN pip install selenium
|
RUN apt-get update \
|
||||||
|
&& apt-get install -y python3-pip python3-dev \
|
||||||
|
&& cd /usr/local/bin \
|
||||||
|
&& ln -s /usr/bin/python3 python \
|
||||||
|
&& pip3 install --upgrade pip
|
||||||
|
RUN sudo apt-get install chromium-chromedriver
|
||||||
|
RUN pip3 install -r requirements.txt
|
||||||
|
RUN pip3 install selenium
|
||||||
ENTRYPOINT ["python", "/main.py"]
|
ENTRYPOINT ["python", "/main.py"]
|
||||||
|
|||||||
Reference in New Issue
Block a user