Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Caillat Michel
yafits
Commits
7ad552fb
Commit
7ad552fb
authored
Jan 09, 2020
by
Caillat Michel
Browse files
Made everything depending on YAFITS_FITSDIR on both side
parent
f36fc960
Changes
1
Hide whitespace changes
Inline
Side-by-side
yafitss/Dockerfile
View file @
7ad552fb
...
...
@@ -70,9 +70,20 @@ RUN echo "PATH=$PATH"
#------------------------------------------------------------#
# 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.
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.
RUN
mkdir
-p
/home/partemix/dataroot/PNG
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment