File tree Expand file tree Collapse file tree 4 files changed +16
-7
lines changed
Expand file tree Collapse file tree 4 files changed +16
-7
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ package-lock.json
4646/output
4747/db
4848/data
49+ /dist
4950/Bruno
5051/tsconfig.tsbuildinfo
5152/public /generated.css
Original file line number Diff line number Diff line change @@ -77,10 +77,13 @@ RUN apt-get update && apt-get install -y \
7777
7878COPY --from=install /temp/prod/node_modules node_modules
7979COPY --from=prerelease /app/public/generated.css /app/public/
80- COPY . .
80+ COPY --from=prerelease /app/dist /app/dist
81+
82+ # COPY . .
83+ RUN mkdir data
8184
8285EXPOSE 3000/tcp
8386# used for calibre
8487ENV QTWEBENGINE_CHROMIUM_FLAGS="--no-sandbox"
8588ENV NODE_ENV=production
86- ENTRYPOINT [ "bun" , "run" , ". /src/index.tsx " ]
89+ ENTRYPOINT [ "bun" , "run" , "dist /src/index.js " ]
Original file line number Diff line number Diff line change 77 "format" : " run-p 'format:*'" ,
88 "format:eslint" : " eslint --fix ." ,
99 "format:prettier" : " prettier --write ." ,
10- "build" : " bun x @tailwindcss/cli -i ./src/main.css -o ./public/generated.css" ,
10+ "build:js" : " tsc" ,
11+ "build" : " bun x @tailwindcss/cli -i ./src/main.css -o ./public/generated.css && bun run build:js" ,
1112 "lint" : " run-p 'lint:*'" ,
1213 "lint:tsc" : " tsc --noEmit" ,
1314 "lint:knip" : " knip" ,
Original file line number Diff line number Diff line change 55 "target" : " ES2021" ,
66 "moduleResolution" : " bundler" ,
77 "moduleDetection" : " force" ,
8- "allowImportingTsExtensions" : true ,
9- "noEmit" : true ,
8+ // "allowImportingTsExtensions": true,
9+ "outDir" : " dist" ,
10+ "noEmit" : false ,
1011 "composite" : true ,
1112 "strict" : true ,
1213 "downlevelIteration" : true ,
2425 // "noUnusedParameters": true,
2526 "exactOptionalPropertyTypes" : true ,
2627 "noFallthroughCasesInSwitch" : true ,
27- "noImplicitOverride" : true
28+ "noImplicitOverride" : true ,
29+ "resolveJsonModule" : true ,
30+ "esModuleInterop" : true
2831 // "noImplicitReturns": true
29- }
32+ },
33+ "include" : [" src" , " package.json" ]
3034}
You can’t perform that action at this time.
0 commit comments