20 lines
389 B
Docker
20 lines
389 B
Docker
|
FROM ubuntu:latest
|
||
|
|
||
|
RUN apt update >>/dev/null
|
||
|
RUN apt install -y apt-utils >>/dev/null
|
||
|
RUN apt install -y python3.8 >>/dev/null
|
||
|
RUN apt install -y python3-pip >>/dev/null
|
||
|
RUN apt install -y unzip >>/dev/null
|
||
|
|
||
|
WORKDIR /app
|
||
|
|
||
|
COPY ./python_script.py ./
|
||
|
COPY ./script.sh ./
|
||
|
RUN chmod +x script.sh
|
||
|
|
||
|
COPY ./requirements.txt ./
|
||
|
|
||
|
RUN pip3 install -r requirements.txt >>/dev/null
|
||
|
|
||
|
CMD ./script.sh
|