Allow overriding clearml web git url on build (#122)

* add server root url

* [Feature Request] Add possibility to override clearml web git url

Co-authored-by: Zied ANDOLSI <zandolsi@prophesee.ai>
This commit is contained in:
Zied ANDOLSI 2022-03-17 13:35:50 +01:00 committed by GitHub
parent 124684f53f
commit 5c1e419eb5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,9 +1,11 @@
FROM centos/nodejs-12-centos7 AS webapp
ARG CLEARML_WEB_GIT_URL=https://github.com/allegroai/clearml-web.git
USER root
WORKDIR /opt
RUN git clone https://github.com/allegroai/clearml-web.git
RUN git clone ${CLEARML_WEB_GIT_URL} clearml-web
RUN mv clearml-web /opt/open-webapp
COPY --chmod=744 docker/build/internal_files/build_webapp.sh /tmp/internal_files/
RUN /bin/bash -c '/tmp/internal_files/build_webapp.sh'