[DO-1579] start project
This commit is contained in:
26
Dockerfile
Normal file
26
Dockerfile
Normal file
@@ -0,0 +1,26 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user