clash-linux commited on
Commit
47a399d
·
verified ·
1 Parent(s): d331884

Upload Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -0
Dockerfile CHANGED
@@ -162,6 +162,10 @@ ENTRYPOINT ["tini", "--", "sh", "-c", " \
162
  # --- END: Dynamically Install Plugins at Runtime --- \
163
 
164
  echo 'Starting SillyTavern server directly...'; \
 
 
 
 
165
  # Execute node server directly, bypassing docker-entrypoint.sh
166
  exec node server.js; \
167
  "]
 
162
  # --- END: Dynamically Install Plugins at Runtime --- \
163
 
164
  echo 'Starting SillyTavern server directly...'; \
165
+ # Remove .gitignore right before starting the server
166
+ rm -f .gitignore && \
167
+ # Remove .git directory right before starting the server
168
+ rm -rf .git && \
169
  # Execute node server directly, bypassing docker-entrypoint.sh
170
  exec node server.js; \
171
  "]