зеркало из https://github.com/Azure/ipam.git
12 строки
313 B
Docker
12 строки
313 B
Docker
|
# registry.access.redhat.com/ubi8/nginx-120
|
||
|
ARG BASE_IMAGE=nginx:alpine
|
||
|
FROM $BASE_IMAGE
|
||
|
|
||
|
RUN ln -sf /dev/stdout /var/log/nginx/access.log
|
||
|
RUN ln -sf /dev/stderr /var/log/nginx/error.log
|
||
|
|
||
|
COPY nginx.dev.conf /etc/nginx/nginx.conf
|
||
|
|
||
|
# Run script uses standard ways to run the application
|
||
|
CMD nginx -g "daemon off;"
|