containers: Specify port for the composer-api as argument

This commit is contained in:
Sanne Raymaekers 2020-12-23 17:08:17 +01:00
parent 73deee0f43
commit 946a0b425a
2 changed files with 11 additions and 4 deletions

View file

@ -14,5 +14,5 @@ COPY --from=builder /opt/app-root/src/go/bin/osbuild-composer /usr/libexec/osbui
COPY ./containers/osbuild-composer/entrypoint.py /opt/entrypoint.py
COPY ./dnf-json /usr/libexec/osbuild-composer/
EXPOSE 443 8700
ENTRYPOINT ["python3", "/opt/entrypoint.py", "--remote-worker-api", "--composer-api"]
EXPOSE 9196 8700
ENTRYPOINT ["python3", "/opt/entrypoint.py", "--remote-worker-api", "--composer-api", "--composer-api-port", "9196"]