This repository has been archived by the owner on Feb 26, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 463
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Dr.Caduceus <[email protected]>
- Loading branch information
1 parent
5e09a60
commit f833167
Showing
1 changed file
with
1 addition
and
31 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,31 +1 @@ | ||
FROM ubuntu:22.04 | ||
|
||
WORKDIR /usr/src/app | ||
RUN chmod 777 /usr/src/app | ||
# Time Zone | ||
ENV TZ=Asia/Kolkata | ||
RUN ln -snf "/usr/share/zoneinfo/$TZ" /etc/localtime | ||
RUN echo "$TZ" > /etc/timezone | ||
|
||
RUN apt-get update | ||
RUN apt-get install -y tzdata | ||
RUN apt-get -qq update | ||
RUN apt install unzip -y | ||
RUN apt-get -qq install -y git python3 python3-pip \ | ||
locales python3-lxml aria2 \ | ||
curl pv jq nginx npm | ||
|
||
# gclone v1.59.0-abe | ||
RUN aria2c https://clonebot.tk/0:/In%20Use/gclone && \ | ||
mv gclone /usr/bin/ && \ | ||
chmod +x /usr/bin/gclone | ||
|
||
COPY requirements.txt . | ||
RUN pip3 install --no-cache-dir -r requirements.txt && \ | ||
apt-get -qq purge git | ||
|
||
COPY . . | ||
|
||
RUN chmod +x run.sh | ||
|
||
CMD ["bash","run.sh"] | ||
FROM ghcr.io/thecaduceus/clonebot_v2:main |