Update Dockerfile
This commit is contained in:
parent
ad0bb7868d
commit
c139afea6d
@ -1,8 +1,8 @@
|
|||||||
FROM nikolaik/python-nodejs:python3.10-nodejs17
|
FROM nikolaik/python-nodejs:python3.10-nodejs17
|
||||||
RUN apt-get update && apt-get upgrade -y
|
RUN apt update && apt upgrade -y
|
||||||
RUN apt-get install ffmpeg -y
|
RUN apt install -y ffmpeg python3-pip
|
||||||
COPY . /py
|
COPY . /py
|
||||||
WORKDIR /py
|
WORKDIR /py
|
||||||
RUN pip3 install -U pip
|
RUN pip3 install -U pip
|
||||||
RUN pip3 install -U -r requirements.txt
|
RUN pip3 install -U -r requirements.txt
|
||||||
CMD python3 -m program
|
CMD ["python3", "main.py"]
|
||||||
|
Loading…
Reference in New Issue
Block a user