27 lines
543 B
Docker
27 lines
543 B
Docker
# Copyright Avroid, Ltd. 2023-2025
|
|
#
|
|
# You can not use the contents of the file in any way without
|
|
# AVROID, Ltd. written permission.
|
|
#
|
|
# To obtain such a permit, you should contact AVROID, Ltd.
|
|
# at https://avroid.ru
|
|
|
|
ARG DOCKER_REGISTRY=harbor.avroid.tech/docker-hub-proxy/library
|
|
|
|
ARG IMAGE_TAG=""
|
|
|
|
FROM ${DOCKER_REGISTRY}/nginx:${IMAGE_TAG}
|
|
|
|
LABEL description="Nginx rootless"
|
|
|
|
LABEL app.nginx.version="${IMAGE_TAG}"
|
|
|
|
COPY rootfs /
|
|
|
|
RUN ln -s /dev/stderr /tmp/error.log \
|
|
&& ln -s /dev/stdout /tmp/access.log
|
|
|
|
EXPOSE 8080
|
|
|
|
USER nginx
|