Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:
with:
platforms: linux/amd64,linux/arm64
push: true
provenance: mode=max
tags: |
${{ env.IMAGE_NAME }}:${{ inputs.version }}
${{ env.IMAGE_NAME }}:latest
Expand Down
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@ COPY ./src ./src
RUN cargo build --release
RUN ls -lh target

FROM alpine
FROM alpine:latest

COPY --from=builder /usr/src/app/target/*-unknown-linux-musl/release/rust-mcp-filesystem rust-mcp-filesystem

ENTRYPOINT ["./rust-mcp-filesystem"]
RUN adduser -D -s /bin/sh rust-mcp-user
USER rust-mcp-user

ENTRYPOINT ["./rust-mcp-filesystem"]