nami0342 commited on
Commit
49d7f7f
Β·
1 Parent(s): fb820b1

Add docker container user name

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -18,9 +18,9 @@ RUN apt-get update && apt-get install -y libgl1
18
 
19
  # ν•„μš”ν•œ 경우, μ»¨ν…Œμ΄λ„ˆ μ‚¬μš©μž 확인 ν›„ μΊμ‹œ 디렉토리 κΆŒν•œ λ³€κ²½
20
  # μ˜ˆμ‹œ (일반적인 경우):
21
- # RUN adduser -D myuser
22
- # USER myuser
23
- # RUN chown -R myuser:myuser /tmp/huggingface_cache /tmp/huggingface_home /tmp/matplotlib_cache
24
 
25
  RUN pip install --no-cache-dir --upgrade -r /requirements.txt
26
 
 
18
 
19
  # ν•„μš”ν•œ 경우, μ»¨ν…Œμ΄λ„ˆ μ‚¬μš©μž 확인 ν›„ μΊμ‹œ 디렉토리 κΆŒν•œ λ³€κ²½
20
  # μ˜ˆμ‹œ (일반적인 경우):
21
+ RUN adduser -D 1000
22
+ USER 1000
23
+ RUN chown -R 1000:1000 /tmp/huggingface_cache /tmp/huggingface_home /tmp/matplotlib_cache
24
 
25
  RUN pip install --no-cache-dir --upgrade -r /requirements.txt
26