ADD file:11b1acca3f68b5c5787e292ff8dbdd114964a7272bf3519ab07710cbc01a0838 in / |
CMD ["bash"] |
WORKDIR /root/ |
SHELL [/bin/bash -c] |
RUN /bin/bash -c apt update && apt upgrade -y # buildkit |
ENV LANG=en_US.UTF-8 |
ENV LANGUAGE=en_US:en |
ENV LC_ALL=en_US.UTF-8 |
RUN /bin/bash -c apt install git ca-certificates lsb-release apt-transport-https wget curl nano vim locales -y && apt auto-remove -y && apt clean -y # buildkit |
RUN /bin/bash -c sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && locale-gen # buildkit |
RUN /bin/bash -c apt install nginx -y --no-install-recommends # buildkit |
RUN /bin/bash -c rm -rf /etc/nginx/ # buildkit |
COPY buildfiles/etc/nginx ./nginx # buildkit |
COPY buildfiles/startservice.sh . # buildkit |
RUN /bin/bash -c chmod +x /root/startservice.sh # buildkit |
WORKDIR /var/www/html |
CMD ["/bin/bash" "-c" "/root/startservice.sh"] |