1
0
Fork 0

run as non root

merge-requests/1/head
Nuno Ferro 2019-02-12 18:14:48 +00:00
parent aa72772ccd
commit 6b73dbaf19
1 changed files with 3 additions and 1 deletions

View File

@ -4,8 +4,10 @@ RUN apt-get update
RUN apt-get dist-upgrade -y
RUN apt-get install -y python build-essential
COPY . /tera
RUN useradd --create-home --shell /bin/bash tera
USER tera
COPY --chown=tera . /tera
WORKDIR /tera
RUN npm install