zuul-storage-proxy/Dockerfile
Monty Taylor 022c80a9a2 Use opendev base docker image and add jobs
The other zuul containers use the python-builder/python-base
pattern for the container images. Use that, and add a container
build job

Change-Id: I110d47995411323dcf4eaed2962c238ee67d62cf
2021-02-11 15:53:38 -08:00

13 lines
330 B
Docker

FROM docker.io/opendevorg/python-builder as builder
COPY . /tmp/src
RUN assemble
FROM docker.io/opendevorg/python-base as zuul-storage-proxy
COPY --from=builder /output/ /output
RUN /output/install-from-bindep
EXPOSE 8000
CMD ["/usr/local/bin/gunicorn", "-k", "eventlet", "-t", "3600", "--workers", "10", "swift_proxy:proxy"]