Skip to content

A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!

fix(docker): include agent skills in the image build (#3629)

Amruth Pillai59fbc2a34cc5
diff --git a/Dockerfile b/Dockerfile
index 62c85fb7d..fb03f49e5 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -28,6 +28,8 @@ RUN --mount=type=cache,id=pnpm-store,target=/pnpm/store,sharing=locked \
pnpm install --frozen-lockfile
COPY --from=pruner /app/out/full/ ./
+# The server build bundles the published agent skills, which live outside any workspace package and so outside the prune.
+COPY --from=pruner /app/plugins/reactive-resume/skills ./plugins/reactive-resume/skills
RUN rm -rf apps/web/dist apps/web/dist-prerender apps/server/dist && pnpm turbo run build --filter=web --filter=server --force
FROM base AS runtime-pruner
diff --git a/apps/server/turbo.json b/apps/server/turbo.json
index be0f0ad5a..0897aadc3 100644
--- a/apps/server/turbo.json
+++ b/apps/server/turbo.json
@@ -2,6 +2,9 @@
"extends": ["//"],
"tags": ["app:server", "runtime:server", "role:adapter"],
"tasks": {
+ "build": {
+ "inputs": ["$TURBO_EXTENDS$", "$TURBO_ROOT$/plugins/reactive-resume/skills/**"]
+ },
"test": {
"env": ["$TURBO_EXTENDS$", "OAUTH_TEST_DATABASE_URL"]
},