Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
@@ -52,6 +52,9 @@ WORKDIR /app
|
|
52 |
RUN mkdir -p /app/.cache /tmp/.triton /tmp/torchinductor_cache \
|
53 |
&& chmod -R 777 /app/.cache /tmp/.triton /tmp/torchinductor_cache
|
54 |
|
|
|
|
|
|
|
55 |
ENV HF_HOME=/app/.cache \
|
56 |
HF_DATASETS_CACHE=/app/.cache \
|
57 |
HF_HUB_CACHE=/app/.cache \
|
|
|
52 |
RUN mkdir -p /app/.cache /tmp/.triton /tmp/torchinductor_cache \
|
53 |
&& chmod -R 777 /app/.cache /tmp/.triton /tmp/torchinductor_cache
|
54 |
|
55 |
+
# Config dosyasına ve app klasörüne yazma izni ver
|
56 |
+
RUN chmod 666 service_config.jsonc && chmod 755 /app
|
57 |
+
|
58 |
ENV HF_HOME=/app/.cache \
|
59 |
HF_DATASETS_CACHE=/app/.cache \
|
60 |
HF_HUB_CACHE=/app/.cache \
|