Commit f78f3b8c authored by carlosribas's avatar carlosribas
Browse files

Testing image

parent fecaf156
...@@ -47,15 +47,12 @@ RUN \ ...@@ -47,15 +47,12 @@ RUN \
BRANCH="${RNACENTRAL_BRANCH:-master}" && \ BRANCH="${RNACENTRAL_BRANCH:-master}" && \
git clone -b "$BRANCH" https://github.com/RNAcentral/rnacentral-webcode.git && \ git clone -b "$BRANCH" https://github.com/RNAcentral/rnacentral-webcode.git && \
pip3 install -r $RNACENTRAL_HOME/rnacentral-webcode/rnacentral/requirements.txt && \ 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}" && \ LOCAL_DEV="${LOCAL_DEVELOPMENT:-false}" && \
if [ "$LOCAL_DEV" = "True" ] ; then \ if [ "$LOCAL_DEV" = "True" ] ; then \
pip3 install -r $RNACENTRAL_HOME/rnacentral-webcode/rnacentral/requirements_dev.txt ; \ 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 WORKDIR $RNACENTRAL_HOME/rnacentral-webcode
COPY ./entrypoint.sh /entrypoint.sh COPY ./entrypoint.sh /entrypoint.sh
......
Markdown is supported
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