forked from ci4s/train-trace
修改dockerfile
This commit is contained in:
parent
95a224e92a
commit
ccf86100a2
|
|
@ -4,7 +4,7 @@ WORKDIR /code
|
|||
|
||||
#编译源代码
|
||||
RUN mkdir -p /code && git clone https://gitlink.org.cn/ci4s/train-trace.git /code && \
|
||||
cd /code && chmod 777 -R . && bazel build tensorboard:tensorboard --remote_cache=
|
||||
cd /code && chmod 777 -R . && bazel build ... --remote_cache=
|
||||
|
||||
#复制编译后的文件到镜像
|
||||
RUN cp /code/bazel-bin/tensorboard/tensorboard /usr/local/bin/tensorboard && \
|
||||
|
|
|
|||
Loading…
Reference in New Issue