Commit 7ad552fb authored by Caillat Michel's avatar Caillat Michel
Browse files

Made everything depending on YAFITS_FITSDIR on both side

parent f36fc960
...@@ -70,9 +70,20 @@ RUN echo "PATH=$PATH" ...@@ -70,9 +70,20 @@ RUN echo "PATH=$PATH"
#------------------------------------------------------------# #------------------------------------------------------------#
# Create some directories expected by the application. # Create some directories expected by the application.
ARG YAFITS_FITSDIR
ARG YAFITS_FITSDIR2
ENV YAFITS_FITSDIR=$YAFITS_FITSDIR
ENV YAFITS_FITSDIR2=$YAFITS_FITSDIR2
# The root directory of the FITS files location (readonly). It'll have to be bound to an host directory. # The root directory of the FITS files location (readonly). It'll have to be bound to an host directory.
RUN mkdir -p /home/partemix/dataroot/FITS RUN printenv
RUN sudo mkdir -p ${YAFITS_FITSDIR}
RUN sudo chown partemix:partemix ${YAFITS_FITSDIR}
# The first extension to the root directory of FITS files location (readonly). It'll have to be bound to an host directory.
RUN sudo mkdir -p ${YAFITS_FITSDIR2}
RUN sudo chown partemix:partemix ${YAFITS_FITSDIR2}
# The root directory of the PNG files (read/write). It'll have to be bound to an host directory. # The root directory of the PNG files (read/write). It'll have to be bound to an host directory.
RUN mkdir -p /home/partemix/dataroot/PNG RUN mkdir -p /home/partemix/dataroot/PNG
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment