Dockerfile 475 B

12345678910111213141516
  1. # Welcome to Hue NGINX (http://gethue.com) Dockerfile
  2. FROM nginx
  3. LABEL description="Host files of Hue"
  4. COPY --from=gethue/hue:latest /usr/share/hue/build/static/ /usr/share/nginx/html/hue/static
  5. RUN rm /etc/nginx/conf.d/default.conf
  6. COPY tools/docker/nginx/nginx.conf /etc/nginx/nginx.conf
  7. COPY tools/docker/nginx/hue.conf /etc/nginx/sites-available/hue
  8. RUN mkdir /etc/nginx/sites-enabled
  9. RUN ln -s /etc/nginx/sites-available/hue /etc/nginx/sites-enabled/hue
  10. EXPOSE 80