Skip to content
This repository has been archived by the owner on Feb 26, 2023. It is now read-only.

Commit

Permalink
⚙️Upgrade Docker Code
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCaduceus authored Jul 20, 2022
2 parents d90428a + d27d576 commit 176540c
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/Docker-Code
Original file line number Diff line number Diff line change
@@ -1,22 +1,27 @@
FROM ubuntu:20.04
# As per choice
FROM ubuntu:latest

# Change as per VPS
WORKDIR /usr/src/app
RUN chmod 777 /usr/src/app

# Non interactive or as per choice
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

# Remove if using Gclone Library
RUN apt install unzip -y

RUN apt-get -qq install -y git python3 python3-pip \
locales python3-lxml aria2 \
curl pv jq nginx npm

# Credits to Levi
# gclone v1.59.0-abe
# Customize using Gclone Library without unzip
RUN aria2c https://github.com/l3v11/gclone/releases/download/v1.59.0-abe/gclone-v1.59.0-abe-linux-amd64.zip && \
unzip gclone-v1.59.0-abe-linux-amd64.zip && \
mv gclone-v1.59.0-abe-linux-amd64/gclone /usr/bin/ && \
Expand Down

0 comments on commit 176540c

Please sign in to comment.