Sontranwakumo commited on
Commit
c105ba2
·
1 Parent(s): d15d543

fix: docker file

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -33,6 +33,9 @@ COPY --chown=appuser:appuser . .
33
  # Thiết lập biến môi trường để thay đổi thư mục cache
34
  ENV XDG_CACHE_HOME=/app/.cache
35
 
 
 
 
36
  # Mở port 8000
37
  EXPOSE 8000
38
 
 
33
  # Thiết lập biến môi trường để thay đổi thư mục cache
34
  ENV XDG_CACHE_HOME=/app/.cache
35
 
36
+ # Chuyển sang user appuser để chạy ứng dụng
37
+ USER appuser
38
+
39
  # Mở port 8000
40
  EXPOSE 8000
41