run as non root
parent
aa72772ccd
commit
6b73dbaf19
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue