Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Carlos Ribas
rnacentral-webcode
Commits
ff6ff70e
Commit
ff6ff70e
authored
May 13, 2021
by
carlosribas
Browse files
Avoid errors in github action
parent
7d668d10
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Dockerfile
Dockerfile
+2
-2
No files found.
Dockerfile
View file @
ff6ff70e
...
@@ -52,7 +52,7 @@ RUN mkdir -p $RNACENTRAL_HOME
...
@@ -52,7 +52,7 @@ RUN mkdir -p $RNACENTRAL_HOME
WORKDIR
$RNACENTRAL_HOME
WORKDIR
$RNACENTRAL_HOME
# Copy requirements
# Copy requirements
COPY
rnacentral/requirements
*
.
COPY
rnacentral/requirements
.txt
.
# Install requirements
# Install requirements
RUN
pip3
install
-r
requirements.txt
RUN
pip3
install
-r
requirements.txt
...
@@ -83,7 +83,7 @@ RUN chown -R rnacentral:rnacentral /srv
...
@@ -83,7 +83,7 @@ RUN chown -R rnacentral:rnacentral /srv
RUN
\
RUN
\
LOCAL_DEV
=
"
${
LOCAL_DEVELOPMENT
:-
False
}
"
&&
\
LOCAL_DEV
=
"
${
LOCAL_DEVELOPMENT
:-
False
}
"
&&
\
if
[
"
$LOCAL_DEV
"
=
"True"
]
;
then
\
if
[
"
$LOCAL_DEV
"
=
"True"
]
;
then
\
pip3
install
-r
requirements_dev.txt
;
\
pip3
install
-r
rnacentral/
requirements_dev.txt
;
\
sed
-i
"13 a import debug_toolbar"
"
${
RNACENTRAL_HOME
}
"
/rnacentral/rnacentral/urls.py
;
\
sed
-i
"13 a import debug_toolbar"
"
${
RNACENTRAL_HOME
}
"
/rnacentral/rnacentral/urls.py
;
\
sed
-i
"31 a
\ \ \ \
url(r'^__debug__/', include(debug_toolbar.urls)),"
"
${
RNACENTRAL_HOME
}
"
/rnacentral/rnacentral/urls.py
;
\
sed
-i
"31 a
\ \ \ \
url(r'^__debug__/', include(debug_toolbar.urls)),"
"
${
RNACENTRAL_HOME
}
"
/rnacentral/rnacentral/urls.py
;
\
sed
-i
"129 a
\ \ \ \
'debug_toolbar.middleware.DebugToolbarMiddleware',"
"
${
RNACENTRAL_HOME
}
"
/rnacentral/rnacentral/settings.py
;
\
sed
-i
"129 a
\ \ \ \
'debug_toolbar.middleware.DebugToolbarMiddleware',"
"
${
RNACENTRAL_HOME
}
"
/rnacentral/rnacentral/settings.py
;
\
...
...
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