blog/.build/Dockerfile

24 lines
596 B
Docker
Raw Normal View History

2023-07-01 22:05:59 +05:00
FROM nginx
# set work dir
WORKDIR /etc/nginx/
# Set build shell to bash, default has has some issues sometimes
SHELL ["/bin/bash", "-c"]
## Language setup and Initial repo update
#RUN apt update \
# && apt install -y --no-install-recommends nginx-extras iputils-ping ca-certificates wget curl nano locales \
# && apt auto-remove -y \
# && apt clean -y
#ENV LANG en_US.UTF-8
#ENV LANGUAGE en_US:en
#ENV LC_ALL en_US.UTF-8
#RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen \
# && locale-gen
#
## clean up
#RUN rm -rfv /var/lib/apt/lists /var/lib/dpkg/info
COPY public/ /usr/share/nginx/html