[GH-ISSUE #20] Unable to run spotify-mcp on a Docker Image #9

Open
opened 2026-02-28 15:42:48 +03:00 by kerem · 1 comment
Owner

Originally created by @chrismendez11 on GitHub (Apr 14, 2025).
Original GitHub issue: https://github.com/varunneal/spotify-mcp/issues/20

I tried to run this on a docker image but the process closes immediately after running the container, my Dockerfile is this:

FROM python:3.11-slim

RUN apt-get update && apt-get install -y curl && apt-get clean

RUN curl -Ls https://astral.sh/uv/install.sh | bash

ENV PATH="/root/.local/bin:$PATH"

WORKDIR /app

COPY . .

EXPOSE 8888

CMD ["uv", "--directory", "/app", "run", "spotify-mcp"]

Is there any examples running this on a Docker image?

Originally created by @chrismendez11 on GitHub (Apr 14, 2025). Original GitHub issue: https://github.com/varunneal/spotify-mcp/issues/20 I tried to run this on a docker image but the process closes immediately after running the container, my Dockerfile is this: ``` FROM python:3.11-slim RUN apt-get update && apt-get install -y curl && apt-get clean RUN curl -Ls https://astral.sh/uv/install.sh | bash ENV PATH="/root/.local/bin:$PATH" WORKDIR /app COPY . . EXPOSE 8888 CMD ["uv", "--directory", "/app", "run", "spotify-mcp"] ``` Is there any examples running this on a Docker image?
Author
Owner

@varunneal commented on GitHub (Apr 14, 2025):

I've never tried this before. Have you run an MCP on a docker image before, and if so did it work?

<!-- gh-comment-id:2802375593 --> @varunneal commented on GitHub (Apr 14, 2025): I've never tried this before. Have you run an MCP on a docker image before, and if so did it work?
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotify-mcp-varunneal#9
No description provided.