Skip to content

Commit

Permalink
Refs #126363 create addons folder after using node user
Browse files Browse the repository at this point in the history
  • Loading branch information
ichim-david committed Jan 20, 2021
1 parent 7a69f7f commit 714839c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@ RUN runDeps="openssl ca-certificates patch git" \
&& rm -rf /var/lib/apt/lists/*

COPY . /opt/frontend/
RUN mkdir -p /opt/frontend/src/addons
RUN chown -R node /opt/frontend/

WORKDIR /opt/frontend/
USER node

RUN mkdir -p /opt/frontend/src/addons

USER root
RUN npm install -g mrs-developer

Expand Down

0 comments on commit 714839c

Please sign in to comment.