INFRA-2987 | Ankit bhardwaj | change ownership of nginx conf
This commit is contained in:
@@ -21,9 +21,9 @@ COPY nginx/nginx.conf /etc/nginx/conf.d
|
||||
COPY entrypoint.sh /
|
||||
COPY config.template.js /usr/share/nginx/html/config.js
|
||||
USER 0
|
||||
RUN chown -R 4000:4000 /etc/nginx/conf.d/nginx.conf
|
||||
RUN chown -R 4000:4000 /etc/nginx/conf.d \
|
||||
&& chmod +x /entrypoint.sh
|
||||
|
||||
RUN chmod +x /entrypoint.sh
|
||||
EXPOSE 8080
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user