ali525 commited on
Commit
5e285ef
·
verified ·
1 Parent(s): 7394b5b

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -23,4 +23,4 @@ ENV GTS_RECAPTCHA_ENABLED=false
23
  EXPOSE 7860
24
 
25
  # أمر التشغيل المباشر
26
- ENTRYPOINT [ "/gotosocial/gotosocial", "server", "start" ]
 
23
  EXPOSE 7860
24
 
25
  # أمر التشغيل المباشر
26
+ ENTRYPOINT ["/bin/sh", "-c", "/gotosocial/gotosocial server start & sleep 20 && /gotosocial/gotosocial admin account create --username ali525 --email admin@ali525.com --password 'AliPass2026!#' || true && /gotosocial/gotosocial admin account promote --username ali525 || true && echo '--- SUCCESS: ADMIN CREATED ---' && wait"]