Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Carlos Ribas
rnacentral-webcode
Commits
f78f3b8c
Commit
f78f3b8c
authored
Apr 20, 2021
by
carlosribas
Browse files
Testing image
parent
fecaf156
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
Dockerfile
Dockerfile
+3
-6
No files found.
Dockerfile
View file @
f78f3b8c
...
...
@@ -47,15 +47,12 @@ RUN \
BRANCH
=
"
${
RNACENTRAL_BRANCH
:-
master
}
"
&&
\
git clone
-b
"
$BRANCH
"
https://github.com/RNAcentral/rnacentral-webcode.git
&&
\
pip3
install
-r
$RNACENTRAL_HOME
/rnacentral-webcode/rnacentral/requirements.txt
&&
\
cd
$RNACENTRAL_HOME
/rnacentral-webcode/rnacentral/portal/static
&&
npm
install
--only
=
production
&&
\
mkdir
$RNACENTRAL_HOME
/static
# Install packages for local development if needed
RUN
\
LOCAL_DEV
=
"
${
LOCAL_DEVELOPMENT
:-
false
}
"
&&
\
if
[
"
$LOCAL_DEV
"
=
"True"
]
;
then
\
pip3
install
-r
$RNACENTRAL_HOME
/rnacentral-webcode/rnacentral/requirements_dev.txt
;
\
fi
fi
&&
\
cd
$RNACENTRAL_HOME
/rnacentral-webcode/rnacentral/portal/static
&&
npm
install
--only
=
production
&&
\
mkdir
$RNACENTRAL_HOME
/static
WORKDIR
$RNACENTRAL_HOME/rnacentral-webcode
COPY
./entrypoint.sh /entrypoint.sh
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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