abc1181 commited on
Commit
becba94
·
verified ·
1 Parent(s): 054055e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -1,8 +1,8 @@
1
  # Use the official rootless image (designed for unprivileged environments like HF)
2
- FROM gitea/gitea:latest-rootless
3
 
4
  # Hugging Face enforces UID 1000
5
- USER 1000
6
 
7
  # Tell Forgejo to use the mounted persistent volume for ALL data
8
  # (database, repositories, config, and attachments)
 
1
  # Use the official rootless image (designed for unprivileged environments like HF)
2
+ FROM gitea/gitea:latest
3
 
4
  # Hugging Face enforces UID 1000
5
+ USER root
6
 
7
  # Tell Forgejo to use the mounted persistent volume for ALL data
8
  # (database, repositories, config, and attachments)