docker-images/images/nginx/Dockerfile

16 lines
306 B
Docker
Raw Normal View History

2023-06-26 21:27:51 +00:00
ARG REPO_LOCATION
# ARG BASE_VERSION
FROM ${REPO_LOCATION}minideb
RUN install_packages nginx-light libnginx-mod-http-fancyindex
RUN rm /etc/nginx/sites-enabled/default && ln -s /srv/site.conf /etc/nginx/sites-enabled/default
VOLUME [ "/srv" ]
USER 81:81
WORKDIR /srv
ENTRYPOINT [ "/usr/sbin/nginx" ]