ee
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
@@ -48,5 +48,8 @@ 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 |
# Run the app
|
52 |
-
CMD ["sh", "-c", "uv run mcp-server-mariadb-vector --transport sse --host 0.0.0.0 --port $PORT"]
|
|
|
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"]
|