Skip to content
This repository has been archived by the owner on Sep 12, 2022. It is now read-only.

Commit

Permalink
Use non-root user to avoid permission issues with Linux OS
Browse files Browse the repository at this point in the history
  • Loading branch information
FaZeRs committed Jul 26, 2018
1 parent b984e32 commit dbf39c1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,7 @@ RUN apk add --no-cache g++ git wget gnupg openssh-client supervisor jpegoptim op

RUN apk add --no-cache nodejs yarn

RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer

RUN adduser -D portfolio
USER portfolio

0 comments on commit dbf39c1

Please sign in to comment.