Skip to content

Commit

Permalink
#193 chore: small refactor of scidash dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
zsinnema committed May 14, 2021
1 parent ddddeb5 commit 03d00f7
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions service/docker/Dockerfile-scidash
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ ENV HOME /home/developer

WORKDIR $ROOT

RUN echo 'kernel.unprivileged_userns_clone=1' > /etc/sysctl.d/userns.conf
RUN mkdir -p /etc/secrets

# INSTALLING REQUIREMENTS
RUN apt-get update
RUN apt-get install -y gconf-service libasound2 libatk1.0-0 libc6 libcairo2 libcups2 \
Expand Down Expand Up @@ -66,9 +69,4 @@ RUN npm run build-dev-noTest
WORKDIR $APP_DIR/scidash
RUN cp ./service/dotenv/scidash_env .env

USER root
RUN echo 'kernel.unprivileged_userns_clone=1' > /etc/sysctl.d/userns.conf
RUN mkdir -p /etc/secrets

USER developer
CMD ./service/scripts/run.sh

0 comments on commit 03d00f7

Please sign in to comment.