diff --git a/Dockerfile b/Dockerfile index e612505..db53eae 100644 --- a/Dockerfile +++ b/Dockerfile @@ -109,6 +109,7 @@ RUN git clone -b release-clm5.0 https://github.com/ESCOMP/CTSM.git ctsm \ && cd .. RUN mkdir -p /inputdata +RUN chmod 777 -R /inputdata VOLUME ["/inputdata"] ENV PATH="/model/ctsm/cime/scripts:${NCDIR}/bin:${PATH}" \ LANG=C.UTF-8 @@ -122,8 +123,6 @@ WORKDIR /home/${USER}/cesm RUN chown -R clm:clm /home /home/${USER} /home/${USER}/.cime \ && chmod 755 -R /home/${USER}/.cime /home/${USER} -RUN chown -R clm:clm /inputdata \ - && chmod 777 -R /inputdata USER ${USER} CMD bash