33
Browse files- 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 |
-
#
|
52 |
-
|
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"]
|
|
|
|
|
|