Kaballas commited on
Commit
3d2275e
·
1 Parent(s): 1477396
Files changed (1) hide show
  1. Dockerfile +2 -5
Dockerfile CHANGED
@@ -48,8 +48,5 @@ RUN uv sync && rm -rf ${UV_CACHE_DIR}/git-v0 ${UV_CACHE_DIR}/sdists-v9 || true
48
  EXPOSE 7860
49
  ENV PORT=7860
50
 
51
- # Ensure /tmp/uvcache is always writable at runtime
52
- RUN chmod -R 777 /tmp/uvcache
53
-
54
- # Run the app
55
- CMD ["sh", "-c", "chmod -R 777 /tmp/uvcache && uv run mcp-server-mariadb-vector --transport sse --host 0.0.0.0 --port $PORT"]
 
48
  EXPOSE 7860
49
  ENV PORT=7860
50
 
51
+ # Remove uv cache at runtime to avoid permission issues
52
+ CMD ["sh", "-c", "rm -rf /tmp/uvcache && uv run mcp-server-mariadb-vector --transport sse --host 0.0.0.0 --port $PORT"]