Fric7ion commited on
Commit
d785efd
1 Parent(s): be272da

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -13
Dockerfile CHANGED
@@ -16,18 +16,5 @@ RUN --mount=type=secret,id=api_key,mode=0444,required=true \
16
  cat /run/secrets/api_key > /test
17
  #git clone $(cat /run/secrets/api_key)
18
 
19
- RUN useradd -m -u 1000 user
20
-
21
- USER user
22
-
23
- ENV HOME=/home/user \
24
- PATH=/home/user/.local/bin:$PATH
25
-
26
-
27
- WORKDIR $HOME/app
28
-
29
- COPY --chown=user . $HOME/app
30
-
31
-
32
  CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
33
 
 
16
  cat /run/secrets/api_key > /test
17
  #git clone $(cat /run/secrets/api_key)
18
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
20