Skip to content

Commit 90b9780

Browse files
committed
fix(docker): Remove build dir from .dockerignore
chore: Prepare release v0.5.8
1 parent f5affff commit 90b9780

File tree

5 files changed

+31
-23
lines changed

5 files changed

+31
-23
lines changed

.dockerignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
node_modules
77

88
# Build artifacts (we only need the build output in the final stage)
9-
build
109

1110
# Docker files
1211
Dockerfile

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.5.8] - 2025-04-05
9+
10+
### Fixed
11+
- Removed `build` directory exclusion from `.dockerignore` to fix Docker build context error where `COPY build ./build` failed.
12+
13+
814
## [0.5.7] - 2025-04-05
915

1016
### Fixed

memory-bank/activeContext.md

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
<!-- Version: 2.8 | Last Updated: 2025-04-05 | Updated By: Cline -->
2-
# Active Context: Filesystem MCP Server (v0.5.7 Release)
1+
<!-- Version: 2.9 | Last Updated: 2025-04-05 | Updated By: Cline -->
2+
# Active Context: Filesystem MCP Server (v0.5.8 Release)
33

44
## 1. Current Work Focus
55

6-
Preparing to commit changes and tag version `0.5.7` to test the CI/CD fix for Docker artifact archiving.
6+
Preparing to commit changes and tag version `0.5.8` after fixing the `.dockerignore` file which caused the previous Docker build failure.
77

88
## 2. Recent Changes/Decisions
99

@@ -42,15 +42,17 @@ Preparing to commit changes and tag version `0.5.7` to test the CI/CD fix for Do
4242
- **Added `LICENSE` File:** Created `LICENSE` file with MIT license text.
4343
- **Updated `README.md`:** Added Glama.ai badge.
4444
- **Fixed CI Artifact Archiving:** Corrected `tar` command in `.github/workflows/publish.yml` to include the `build` directory itself, not just its contents (5f5c7c4).
45-
- **Incremented Version to 0.5.7:** Updated `package.json` and `CHANGELOG.md`.
45+
- **Incremented Version to 0.5.7:** Updated `package.json` and `CHANGELOG.md` (Release failed due to `.dockerignore`).
46+
- **Fixed `.dockerignore`:** Removed `build` directory exclusion to allow it in Docker build context.
47+
- **Incremented Version to 0.5.8:** Updated `package.json` and `CHANGELOG.md`.
4648

4749
## 3. Next Steps / Considerations
4850

49-
- **Update `progress.md`:** Reflect the version bump and CI fix.
50-
- **Commit Changes:** Commit updated `package.json`, `CHANGELOG.md`, and Memory Bank files.
51-
- **Tag Release:** Create git tag `v0.5.7`.
51+
- **Update `progress.md`:** Reflect the `.dockerignore` fix and version bump to `0.5.8`.
52+
- **Commit Changes:** Commit updated `.dockerignore`, `package.json`, `CHANGELOG.md`, and Memory Bank files.
53+
- **Tag Release:** Create git tag `v0.5.8`.
5254
- **Push Commit & Tag:** Push the commit and the new tag to `origin`.
53-
- **Monitor CI/CD:** Verify the `v0.5.7` release workflow completes successfully, especially the `publish-docker` job.
55+
- **Monitor CI/CD:** Verify the `v0.5.8` release workflow completes successfully.
5456
- **Implement `edit_file` Regex Support:** (Post-release task) Add logic for `use_regex: true`.
5557

5658
## 4. Active Decisions
@@ -66,7 +68,7 @@ Preparing to commit changes and tag version `0.5.7` to test the CI/CD fix for Do
6668
- **Tool Descriptions:** Updated `writeContent` and `editFile` descriptions.
6769
- **CI/CD Structure:** Simplified single workflow (`publish.yml`) handling CI checks and tag-triggered releases. Artifact handling fixed. Diagnostic steps added.
6870
- **Dockerfile:** Refactored to copy pre-built code and install production dependencies only.
69-
- **Release Version:** Set to `0.5.7`.
70-
- **Changelog:** Updated for `v0.5.7`.
71+
- **Release Version:** Set to `0.5.8`.
72+
- **Changelog:** Updated for `v0.5.8`.
7173
- **License:** Added MIT `LICENSE` file.
7274
- **README Badge:** Added Glama.ai badge.

memory-bank/progress.md

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
<!-- Version: 2.8 | Last Updated: 2025-04-05 | Updated By: Cline -->
2-
# Progress: Filesystem MCP Server (v0.5.7 Release)
1+
<!-- Version: 2.9 | Last Updated: 2025-04-05 | Updated By: Cline -->
2+
# Progress: Filesystem MCP Server (v0.5.8 Release)
33

44
## 1. What Works
55

@@ -18,36 +18,37 @@
1818
- **Tool Descriptions:** Descriptions for `write_content` and `edit_file` now include notes recommending edit tools for modifications.
1919
- **Dockerization:**
2020
- `Dockerfile` created using multi-stage builds, copies pre-built code, installs production dependencies only.
21-
- `.dockerignore` configured correctly.
21+
- `.dockerignore` configured correctly (removed `build` exclusion).
2222
- **CI/CD (GitHub Actions):**
2323
- **Simplified Single Workflow (`publish.yml`):** Handles both CI checks (build only on main push) and Releases (build with artifacts, parallel publish, auto-release on tag push).
2424
- **Conditional Artifacts:** Build job uploads artifacts only when triggered by a tag push.
2525
- **Conditional Publishing/Release:** Publish and release jobs run only when triggered by a tag push.
2626
- **Artifact Handling Fixed:** Corrected artifact creation (`tar` command now includes `build` directory) and extraction.
2727
- **Diagnostic Steps Added:** Added `ls -la` steps to `publish-docker` job for debugging artifact issues.
28-
- **Versioning:** Package version updated to `0.5.7`.
28+
- **Versioning:** Package version updated to `0.5.8`.
2929
- **`.clinerules` Created:** Established `memory-bank/.clinerules` to capture project-specific patterns and user preferences.
30-
- **Changelog:** Updated `CHANGELOG.md` with entry for v0.5.7.
30+
- **Changelog:** Updated `CHANGELOG.md` with entry for v0.5.8.
3131
- **License:** Added MIT `LICENSE` file.
3232

3333
## 2. What's Left to Build / Test
3434

35-
- **Commit Changes:** Commit updated `package.json`, `CHANGELOG.md`, and Memory Bank files.
36-
- **Tag Release:** Create git tag `v0.5.7`.
35+
- **Commit Changes:** Commit updated `.dockerignore`, `package.json`, `CHANGELOG.md`, and Memory Bank files.
36+
- **Tag Release:** Create git tag `v0.5.8`.
3737
- **Push Commit & Tag:** Push the commit and the new tag to `origin`.
38-
- **Monitor CI/CD:** Verify the `v0.5.7` release workflow completes successfully, especially the `publish-docker` job.
38+
- **Monitor CI/CD:** Verify the `v0.5.8` release workflow completes successfully.
3939
- **Implement `edit_file` Regex Support:** (Post-release task) Add logic for `use_regex: true`.
4040
- **Code Cleanup:** (Post-release task) Remove any remaining debugging logs (including the added `ls -la` steps if successful).
4141
- **Comprehensive Testing:** (Post-release task) Test dynamic root logic, launcher integration, edge cases, etc.
4242

4343
## 3. Current Status
4444

45-
- **Release Prep Complete:** Version bumped to `0.5.7`, `CHANGELOG.md` updated.
46-
- **CI/CD Artifact Archiving Fixed:** Corrected `tar` command in `publish.yml` to include the `build` directory.
47-
- **Ready to Commit & Tag:** Waiting to commit version updates and tag `v0.5.7`.
45+
- **Release Prep Complete:** Version bumped to `0.5.8`, `CHANGELOG.md` updated.
46+
- **Docker Build Context Fixed:** Removed `build` exclusion from `.dockerignore`.
47+
- **Ready to Commit & Tag:** Waiting to commit fixes and version updates, then tag `v0.5.8`.
4848

4949
## 4. Known Issues / Areas for Improvement
5050

51+
- **Docker Build Failure (v0.5.7):** The `v0.5.7` release failed because `.dockerignore` excluded the `build` directory from the Docker context. (Fixed in v0.5.8)
5152
- **Launcher Dependency:** Server functionality is now critically dependent on the launching process setting the correct `cwd`.
5253
- **`list_files` (`glob` path):** Potential issue with recursion/stats enabled needs investigation.
5354
- **Windows `chmod`/`chown`:** Effectiveness is limited by the OS.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@shtse8/filesystem-mcp",
3-
"version": "0.5.7",
3+
"version": "0.5.8",
44
"description": "An MCP server providing filesystem tools relative to a project root.",
55
"type": "module",
66
"bin": {

0 commit comments

Comments
 (0)