-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated docker image for faster builds
- Loading branch information
Showing
1 changed file
with
5 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,12 @@ | ||
FROM debian:latest | ||
FROM nikolaik/python-nodejs:python3.9-nodejs16 | ||
|
||
RUN apt update && apt upgrade -y | ||
RUN apt install git curl python3-pip ffmpeg -y | ||
RUN pip3 install -U pip | ||
RUN curl -sL https://deb.nodesource.com/setup_16.x | bash - && \ | ||
apt-get install -y nodejs && \ | ||
npm i -g npm | ||
RUN apt install ffmpeg -y | ||
|
||
COPY requirements.txt /requirements.txt | ||
RUN cd / | ||
RUN pip3 install -U -r requirements.txt | ||
RUN pip3 install -U pip && pip3 install -U -r requirements.txt | ||
RUN mkdir /VCPlayerBot | ||
WORKDIR /VCPlayerBot | ||
COPY start.sh /start.sh | ||
CMD ["/bin/bash", "/start.sh"] | ||
CMD ["/bin/bash", "/start.sh"] |