Skip to content

Commit 47bb1e4

Browse files
author
ogmatrix
committed
fix: setup docker build and version automation
1 parent 4222445 commit 47bb1e4

6 files changed

Lines changed: 3056 additions & 1768 deletions

File tree

.releaserc.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,16 @@
8282
"npmPublish": false
8383
}
8484
],
85+
[
86+
"@semantic-release/exec",
87+
{
88+
"prepareCmd": "node scripts/update-version.js ${nextRelease.version}"
89+
}
90+
],
8591
[
8692
"@semantic-release/git",
8793
{
88-
"assets": ["package.json", "package-lock.json", "CHANGELOG.md"],
94+
"assets": ["package.json", "package-lock.json", "CHANGELOG.md", "src/index.ts"],
8995
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
9096
}
9197
],

Dockerfile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# For glama.ai registry use:
2+
3+
FROM debian:bookworm-slim
4+
ENV DEBIAN_FRONTEND=noninteractive \
5+
GLAMA_VERSION="1.0.0"
6+
RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates curl git && curl -fsSL https://deb.nodesource.com/setup_24.x | bash - && apt-get install -y --no-install-recommends nodejs && npm install -g mcp-proxy@5.12.0 pnpm@10.14.0 && node --version && curl -LsSf https://astral.sh/uv/install.sh | UV_INSTALL_DIR="/usr/local/bin" sh && uv python install 3.13 --default --preview && ln -s $(uv python find) /usr/local/bin/python && python --version && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
7+
WORKDIR /app
8+
RUN git clone https://github.com/OGMatrix/mcmodding-mcp . && git checkout 42224451afee294ae51d7d3fc7516d4fe4d92c37
9+
RUN apt-get update && apt-get install -y --no-install-recommends build-essential python3 && npm install && npm run postinstall && npm run build
10+
CMD ["mcp-proxy","npm","--","run","start"]

0 commit comments

Comments
 (0)