Commit 0a59ff4a authored by carlosribas's avatar carlosribas
Browse files

Run as root

parent c75313fb
......@@ -45,7 +45,7 @@ RUN \
apt-get install -y nodejs
# Create the rnacentral user
RUN useradd -m -d /srv/rnacentral -s /bin/bash rnacentral
#RUN useradd -m -d /srv/rnacentral -s /bin/bash rnacentral
# Set work directory
ENV RNACENTRAL_HOME=/srv/rnacentral/rnacentral-webcode
......@@ -78,7 +78,7 @@ RUN \
# Copy and chown all the files to the rnacentral user
COPY rnacentral $RNACENTRAL_HOME/rnacentral
RUN chown -R rnacentral:rnacentral /srv
#RUN chown -R rnacentral:rnacentral /srv
# Install and configure packages for local development if needed
RUN \
......@@ -92,7 +92,7 @@ RUN \
fi
# Set user
USER rnacentral
#USER rnacentral
# Run entrypoint
COPY ./entrypoint.sh $RNACENTRAL_HOME
......
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