matdmiller commited on
Commit
c3ab422
·
1 Parent(s): 2afeddf

added user

Browse files
.ipynb_checkpoints/Dockerfile-checkpoint CHANGED
@@ -9,7 +9,11 @@ COPY ./requirements.txt /code/requirements.txt
9
 
10
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
11
 
12
- COPY . .
 
 
 
 
13
 
14
  RUN git clone https://github.com/AnswerDotAI/fasthtml.git
15
 
 
9
 
10
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
11
 
12
+ RUN useradd -m -u 1000 user
13
+
14
+ USER user
15
+
16
+ COPY --chown=user . .
17
 
18
  RUN git clone https://github.com/AnswerDotAI/fasthtml.git
19
 
Dockerfile CHANGED
@@ -9,7 +9,11 @@ COPY ./requirements.txt /code/requirements.txt
9
 
10
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
11
 
12
- COPY . .
 
 
 
 
13
 
14
  RUN git clone https://github.com/AnswerDotAI/fasthtml.git
15
 
 
9
 
10
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
11
 
12
+ RUN useradd -m -u 1000 user
13
+
14
+ USER user
15
+
16
+ COPY --chown=user . .
17
 
18
  RUN git clone https://github.com/AnswerDotAI/fasthtml.git
19