1
0

worker 498 B

12345678910111213141516
  1. FROM pagure-base:latest
  2. LABEL maintainers="Patrick Uiterwijk <patrick@puiterwijk.org>, Andrew Engelbrecht <andrew@engelbrecht.io>"
  3. VOLUME ["/repos"]
  4. RUN mkdir /code
  5. WORKDIR /code
  6. ENTRYPOINT ["/usr/bin/celery-3", "-A", "pagure.lib.tasks", "worker", "--loglevel", "info"]
  7. # Code injection is last to make optimal use of caches
  8. VOLUME ["/code"]
  9. # Openshift: COPY / /code
  10. VOLUME ["/attachments"]
  11. # Ideally this would run as non-root, but that needs the /repos owned correctly
  12. ENV C_FORCE_ROOT true