File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -331,7 +331,7 @@ jobs:
331
331
- ./apps/web/.next/standalone
332
332
- ./apps/web/.next/static
333
333
- ./apps/web/public
334
- - ./apps/web/static
334
+ - ./apps/web/private- static
335
335
336
336
chromatic :
337
337
executor : node
@@ -422,7 +422,7 @@ jobs:
422
422
command : |
423
423
mv apps/web/.next/standalone ~/dist
424
424
mv apps/web/public ~/dist/apps/web/public
425
- mv apps/web/static ~/dist/apps/web/static
425
+ mv apps/web/private- static ~/dist/apps/web/private- static
426
426
mv apps/web/.next/static ~/dist/apps/web/.next/static
427
427
cd ~/dist
428
428
NODE_TLS_REJECT_UNAUTHORIZED="0" HOSTNAME=localhost node apps/web/server.js
File renamed without changes.
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import { getDirname } from '@app/config/dirname'
3
3
4
4
export const staticDirectory = path . resolve (
5
5
getDirname ( import . meta. url ) ,
6
- '../static' ,
6
+ '../private- static' ,
7
7
)
8
8
9
9
export const staticFile = ( filename : string ) =>
Original file line number Diff line number Diff line change @@ -16,8 +16,8 @@ COPY apps/web/.next/standalone .
16
16
# Copy public assets
17
17
COPY apps/web/public ./apps/web/public
18
18
19
- # Copy static files (csv, json, etc...)
20
- COPY apps/web/static ./apps/web/static
19
+ # Copy static server files not imported by bundler (csv, json, etc...)
20
+ COPY apps/web/private- static ./apps/web/private- static
21
21
22
22
# Copy static built assets (js and css)
23
23
COPY apps/web/.next/static ./apps/web/.next/static
You can’t perform that action at this time.
0 commit comments