Skip to content

Commit bdbbde0

Browse files
Try copying icons explicitly (#1310)
* Try copying icons explicitly * fix location * test removing asterix * Make node_modules match the other line * test reverting * revert changes in dockerfile
1 parent 5e53f4e commit bdbbde0

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

Dockerfile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,6 @@ COPY --from=builder /app/apps/docs/.output .output
3333
COPY --from=builder /app/apps/docs/.vinxi .vinxi
3434
COPY --from=prod-deps /app/apps/docs/node_modules node_modules
3535

36-
# Verify the icons exist in the expected location
37-
RUN ls -la .output/public/resources/icons || echo "Icons directory not found in .output/public!"
38-
RUN ls -la public/resources/icons 2>/dev/null || echo "Icons directory not found in public/ (expected if properly included in .output)"
3936

4037
ENV PORT=3000
4138
EXPOSE 3000

apps/docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"scripts": {
99
"build": "pnpm build:props && pnpm build:colors && pnpm build:tsc && pnpm build:assets && pnpm build:app",
1010
"build:app": "vinxi build",
11-
"build:assets": "mkdir -p public/resources/icons && cp -r node_modules/@obosbbl/grunnmuren-icons-svg/src/ public/resources/icons",
11+
"build:assets": "mkdir -p public/resources/icons && cp -r node_modules/@obosbbl/grunnmuren-icons-svg/src/* public/resources/icons/",
1212
"build:props": "node extract-component-props.js && biome lint --write component-props.ts --files-max-size=4000000",
1313
"build:colors": "node extract-colors.js && biome format --write colors.ts",
1414
"build:tsc": "tsc",

0 commit comments

Comments
 (0)