layerindex-web/Dockerfile.web
Paul Eggleton 5ee59b1564 docker: dockerfile cleanups
* Use LABEL instead of the deprecated MAINTAINER

* Use COPY instead of ADD. There's no difference in operation here, it's
  just that we don't need the extra magic that ADD provides and best
  practice is to use COPY in that case.

* Fix the mkdir /opt/workdir line - it wasn't being run since it was a
  CMD not RUN, and thus was overridden by a later CMD directive.

* Drop the CMD line to run celery - having more than one CMD directive
  does not work. We'll launch a separate container to run it instead.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2018-07-23 08:40:00 +02:00

5 lines
183 B
Docker

FROM nginx:latest
LABEL maintainer="Michael Halstead <mhalstead@linuxfoundation.org>"
COPY docker/nginx.conf /etc/nginx/nginx.conf
COPY layerindex/static /usr/share/nginx/html/static