euIaxs22 commited on
Commit
d27f64f
verified
1 Parent(s): 0b1c8c1

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +10 -10
Dockerfile CHANGED
@@ -86,9 +86,15 @@ COPY start.sh ./app/start.sh
86
 
87
  # ---------------- C贸digo e permiss玫es ----------------
88
  COPY . .
89
- RUN useradd -m -u 1000 -s /bin/bash appuser && \
90
- chown -R appuser:appuser /app && \
91
- chmod 0755 /app/start.sh /app/info.sh /app/builder.sh || true
 
 
 
 
 
 
92
 
93
  USER appuser
94
 
@@ -104,14 +110,8 @@ ENV DIFFUSERS_CACHE=/data/.cache/diffusers
104
  ENV HF_HUB_ENABLE_HF_TRANSFER=1
105
  ENV TOKENIZERS_PARALLELISM=false
106
 
107
-
108
-
109
-
110
  VOLUME ["/data/.cache/huggingface/hub", "/data/ckpt/VINCIE-3B", "/app/outputs"]
111
 
112
-
113
-
114
 
115
  # ---------------- Entry ----------------
116
- ENTRYPOINT ["/app/start.sh"]
117
- CMD [""]
 
86
 
87
  # ---------------- C贸digo e permiss玫es ----------------
88
  COPY . .
89
+ RUN useradd -m -u 1000 -s /bin/bash appuser
90
+ #chown -R appuser:appuser /app
91
+ #chmod 0755 /app/start.sh /app/info.sh /app/builder.sh || true
92
+
93
+ RUN chmod +x /app/start_seedvr.sh /app/entrypoint.sh && \
94
+ chown -R appuser:appuser /app
95
+
96
+
97
+ ENTRYPOINT ["/app/entrypoint.sh"]
98
 
99
  USER appuser
100
 
 
110
  ENV HF_HUB_ENABLE_HF_TRANSFER=1
111
  ENV TOKENIZERS_PARALLELISM=false
112
 
 
 
 
113
  VOLUME ["/data/.cache/huggingface/hub", "/data/ckpt/VINCIE-3B", "/app/outputs"]
114
 
 
 
115
 
116
  # ---------------- Entry ----------------
117
+ CMD ["/app/start_seedvr.sh"]