update docker

This commit is contained in:
Dawid 2021-04-09 00:00:40 +02:00
parent 11685be216
commit 5848911f06

View File

@ -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