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" ]