muryshev commited on
Commit
fa89aca
1 Parent(s): 74d5380

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -1
Dockerfile CHANGED
@@ -1,8 +1,14 @@
1
  FROM python:3.10-buster
2
 
 
 
 
 
 
 
3
  WORKDIR /app/commandr-api-local
4
 
5
- COPY . .
6
 
7
  RUN pip3 install --upgrade pip
8
 
 
1
  FROM python:3.10-buster
2
 
3
+ RUN useradd -m -u 1000 user
4
+
5
+ USER user
6
+
7
+ COPY --chown=user . /app/commandr-api-local
8
+
9
  WORKDIR /app/commandr-api-local
10
 
11
+ # COPY . .
12
 
13
  RUN pip3 install --upgrade pip
14