Browse Source

Add provision user

Vadim Surkov 6 năm trước cách đây
mục cha
commit
470a195a51
1 tập tin đã thay đổi với 4 bổ sung1 xóa
  1. 4 1
      Dockerfile

+ 4 - 1
Dockerfile

@@ -6,4 +6,7 @@ LABEL maintainer="surkov.v@sdsys.ru"
 RUN --mount=type=bind,source=./files,target=/tmp/files \
     yum install -y epel-release \
     && yum install -y python2-pip \
-    && pip install -r /tmp/files/requirements.txt
+    && pip install -r /tmp/files/requirements.txt \
+    && adduser provision
+
+USER provision