022c80a9a2
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
13 lines
330 B
Docker
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"]
|