Skip to content

Commit

Permalink
fix permission denied in nginx
Browse files Browse the repository at this point in the history
  • Loading branch information
atarkowska committed Mar 29, 2016
1 parent 6bf3562 commit 1f2b012
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nginx/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ ENV LANG en_US.UTF-8
# To avoid error: sudo: sorry, you must have a tty to run sudo
RUN sed -i -e "s/Defaults requiretty.*/ #Defaults requiretty/g" /etc/sudoers

RUN chmod a+X /home/omero

RUN yum -y localinstall http://nginx.org/packages/rhel/7/noarch/RPMS/nginx-release-rhel-7-0.el7.ngx.noarch.rpm
RUN yum -y install nginx && yum clean all
Expand Down

0 comments on commit 1f2b012

Please sign in to comment.