moved to py-tgcalls
new dockerfile structure
This commit is contained in:
parent
428bb1d89f
commit
61aaf0302b
15
Dockerfile
15
Dockerfile
@ -1,12 +1,17 @@
|
|||||||
FROM python:latest
|
FROM python:3.9
|
||||||
|
|
||||||
RUN apt-get update && apt-get upgrade -y
|
RUN apt update && apt upgrade -y
|
||||||
RUN apt-get install ffmpeg -y
|
RUN apt install python3-pip -y
|
||||||
RUN python3 -m pip install --upgrade pip
|
RUN apt install ffmpeg -y
|
||||||
|
|
||||||
|
RUN curl -sL https://deb.nodesource.com/setup_16.x | bash -
|
||||||
|
RUN apt-get install -y nodejs
|
||||||
|
RUN npm i -g npm
|
||||||
|
|
||||||
COPY . /py
|
COPY . /py
|
||||||
WORKDIR /py
|
WORKDIR /py
|
||||||
|
|
||||||
RUN python3 -m pip install -U -r requirements.txt
|
RUN pip3 install --upgrade pip
|
||||||
|
RUN pip3 install -U -r requirements.txt
|
||||||
|
|
||||||
CMD python3 -m bot
|
CMD python3 -m bot
|
||||||
|
Loading…
Reference in New Issue
Block a user