Dockerfile 545 B

123456789101112131415161718192021
  1. # Welcome to Hue NGINX (http://gethue.com) Dockerfile
  2. ARG registry=gethue
  3. ARG tag=latest
  4. FROM ${registry}/hue:${tag} as base
  5. FROM nginx
  6. LABEL description="Static files of Hue service"
  7. COPY --from=base /usr/share/hue/build/static/ /usr/share/nginx/html/hue/static
  8. RUN rm /etc/nginx/conf.d/default.conf
  9. COPY tools/docker/nginx/nginx.conf /etc/nginx/nginx.conf
  10. COPY tools/docker/nginx/hue.conf /etc/nginx/sites-available/hue
  11. RUN mkdir /etc/nginx/sites-enabled
  12. RUN ln -s /etc/nginx/sites-available/hue /etc/nginx/sites-enabled/hue
  13. EXPOSE 80