mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-19 12:49:01 +02:00

* 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>
5 lines
183 B
Docker
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
|