Update Dockerfile

This commit is contained in:
Tofik Denianto 2021-10-30 02:10:51 +07:00 committed by GitHub
parent ad0bb7868d
commit c139afea6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,8 +1,8 @@
FROM nikolaik/python-nodejs:python3.10-nodejs17
RUN apt-get update && apt-get upgrade -y
RUN apt-get install ffmpeg -y
RUN apt update && apt upgrade -y
RUN apt install -y ffmpeg python3-pip
COPY . /py
WORKDIR /py
RUN pip3 install -U pip
RUN pip3 install -U -r requirements.txt
CMD python3 -m program
CMD ["python3", "main.py"]