File: //scripts/Dockerfile
FROM ubuntu:latest
WORKDIR /data/script-server
####install python####
RUN apt-get update -y && apt-get upgrade -y
RUN apt-get install -y python3
####install supervisord####
RUN apt-get install -y supervisor
#ENV TZ Asia/Kolkata
RUN ln -snf /usr/share/zoneinfo/Asia/Kolkata /etc/localtime
#RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
####install pdftoppm & img2pdf#####
RUN apt-get install -y poppler-utils
RUN apt-get install -y img2pdf
####install microsoft-fonts####
#RUN echo "ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true" | debconf-set-selections
#RUN apt-get install -y --no-install-recommends fontconfig ttf-mscorefonts-installer
####install google-fonts######
#RUN apt-get install fonts-indic -y
# refresh system font cache
#RUN fc-cache -f -v
RUN apt install python3-pip -y
RUN apt install net-tools curl wget nano htop -y
RUN service supervisor start
CMD ["/bin/sh", "/data/script-server/start.sh"]