FROM pagure-base:latest LABEL maintainers="Patrick Uiterwijk , Andrew Engelbrecht " VOLUME ["/repos"] RUN mkdir /code WORKDIR /code ENTRYPOINT ["/usr/bin/celery-3", "-A", "pagure.lib.tasks", "worker", "--loglevel", "info"] # Code injection is last to make optimal use of caches VOLUME ["/code"] # Openshift: COPY / /code VOLUME ["/attachments"] # Ideally this would run as non-root, but that needs the /repos owned correctly ENV C_FORCE_ROOT true