mirror of
https://github.com/ClusterCockpit/cc-docker.git
synced 2025-07-23 13:21:43 +02:00
Initial checkin
This commit is contained in:
20
nginx/Dockerfile
Normal file
20
nginx/Dockerfile
Normal file
@@ -0,0 +1,20 @@
|
||||
FROM nginx:1.19.6
|
||||
|
||||
LABEL maintainer="Vincent Composieux <vincent.composieux@gmail.com>"
|
||||
|
||||
RUN mkdir -p /etc/nginx/templates \
|
||||
mkdir -p /tmp/nginx
|
||||
|
||||
COPY nginx.conf /etc/nginx/
|
||||
COPY templates/* /etc/nginx/templates/
|
||||
COPY html/index.html.template /tmp/nginx/
|
||||
|
||||
ARG NGINX_SYMFONY_SERVER_NAME
|
||||
ARG KIBANA_PORT
|
||||
RUN envsubst < /tmp/nginx/index.html.template > /usr/share/nginx/html/index.html; \
|
||||
rm -fR /tmp/nginx
|
||||
|
||||
CMD ["nginx"]
|
||||
|
||||
EXPOSE 80
|
||||
EXPOSE 443
|
Reference in New Issue
Block a user