update docker
This commit is contained in:
parent
11685be216
commit
5848911f06
@ -1,13 +1,13 @@
|
|||||||
FROM ubuntu:latest
|
FROM ubuntu:latest
|
||||||
|
|
||||||
COPY requirements.txt ./
|
|
||||||
|
|
||||||
RUN apt-get update
|
RUN apt-get update
|
||||||
RUN apt-get install -y python3-pip
|
RUN apt-get install -y python3-pip
|
||||||
RUN pip3 install -r ./requirements.txt
|
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
COPY ./stats.py ./
|
COPY ./stats.py ./
|
||||||
|
COPY requirements.txt ./
|
||||||
|
|
||||||
|
RUN pip3 install -r ./requirements.txt
|
||||||
|
|
||||||
CMD python3 stats.py
|
CMD python3 stats.py
|
Loading…
Reference in New Issue
Block a user