mirror of
https://github.com/clearml/clearml-server
synced 2025-01-31 02:46:53 +00:00
fix chmod for file copy
This commit is contained in:
parent
c55b6f30df
commit
22b16d12eb
@ -5,18 +5,18 @@ WORKDIR /opt
|
||||
|
||||
RUN git clone https://github.com/allegroai/clearml-web.git
|
||||
RUN mv clearml-web /opt/open-webapp
|
||||
COPY docker/build/internal_files/build_webapp.sh /tmp/internal_files/
|
||||
COPY --chmod=744 docker/build/internal_files/build_webapp.sh /tmp/internal_files/
|
||||
RUN /bin/bash -c '/tmp/internal_files/build_webapp.sh'
|
||||
|
||||
FROM centos:7 AS staging_image
|
||||
COPY docker/build/internal_files/entrypoint.sh /opt/clearml/
|
||||
COPY --chmod=744 docker/build/internal_files/entrypoint.sh /opt/clearml/
|
||||
COPY fileserver /opt/clearml/fileserver/
|
||||
COPY apiserver /opt/clearml/apiserver/
|
||||
|
||||
FROM centos:7
|
||||
COPY --from=staging_image /opt/clearml/ /opt/clearml/
|
||||
|
||||
COPY docker/build/internal_files/final_image_preparation.sh /tmp/internal_files/
|
||||
COPY --chmod=744 docker/build/internal_files/final_image_preparation.sh /tmp/internal_files/
|
||||
COPY docker/build/internal_files/clearml.conf.template /tmp/internal_files/
|
||||
RUN /bin/bash -c '/tmp/internal_files/final_image_preparation.sh'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user