Heroku: Select Time Zone Error
Closed this issue · 0 comments
If you are facing Error, where Heroku Showing Select Time Zone then just replace the code of Docker file with below code:
FROM ubuntu:20.04
WORKDIR /usr/src/app
RUN chmod 777 /usr/src/app
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-get -qq install -y git python3 python3-pip
locales python3-lxml aria2
curl pv jq nginx npm
COPY requirements.txt .
RUN pip3 install --no-cache-dir -r requirements.txt &&
apt-get -qq purge git
RUN locale-gen en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
COPY . .
RUN chmod +x start.sh
RUN chmod +x gclone
CMD ["bash","start.sh"]