Skip to content

Commit

Permalink
fix: static assets missing in dist
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin-Frost committed May 27, 2024
1 parent 1bde5e6 commit 7a8b311
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ FROM base as runner
WORKDIR /usr/src/app

COPY --from=builder /usr/src/app/dist ./dist
COPY --from=builder /usr/src/app/static/stickers ./static/stickers
COPY --from=builder /usr/src/app/node_modules ./node_modules
COPY --from=builder /usr/src/app/package.json ./package.json

Expand Down
9 changes: 1 addition & 8 deletions nest-cli.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,6 @@
"collection": "@nestjs/schematics",
"sourceRoot": "src",
"compilerOptions": {
"deleteOutDir": true,
"assets": [
{
"include": "../static/stickers/**",
"outDir": "dist/static",
"watchAssets": true
}
]
"deleteOutDir": true
}
}

0 comments on commit 7a8b311

Please sign in to comment.