Changes: fastapi server build spec
This commit is contained in:
parent
37406ae7b1
commit
574748f4f8
2 changed files with 2 additions and 4 deletions
|
|
@ -14,7 +14,7 @@
|
|||
"build:ts": "tsc",
|
||||
"build:css": "tailwindcss -i ./resources/ui/assets/css/tailwind.import.css -o ./resources/ui/assets/css/tailwind.css --watch",
|
||||
"build:nextjs": "rm -rf resources/nextjs && cp -r servers/nextjs resources/nextjs && cd resources/nextjs && npm install --omit=dev && npm run build",
|
||||
"build:fastapi": "rm -rf resources/fastapi && cd servers/fastapi && .venv/bin/pyinstaller server.spec",
|
||||
"build:fastapi": "rm -rf resources/fastapi && cd servers/fastapi && .venv/bin/pyinstaller --distpath ../../resources server.spec",
|
||||
"build:electron": "tsc && node build.js",
|
||||
"clean:build": "rm -rf resources/nextjs && rm -rf resources/fastapi"
|
||||
},
|
||||
|
|
@ -34,4 +34,4 @@
|
|||
"tailwindcss": "^4.1.5",
|
||||
"tree-kill": "^1.2.2"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -32,7 +32,6 @@ exe = EXE(
|
|||
target_arch=None,
|
||||
codesign_identity=None,
|
||||
entitlements_file=None,
|
||||
distpath='../../resources/fastapi',
|
||||
)
|
||||
coll = COLLECT(
|
||||
exe,
|
||||
|
|
@ -42,5 +41,4 @@ coll = COLLECT(
|
|||
upx=True,
|
||||
upx_exclude=[],
|
||||
name='fastapi',
|
||||
distpath='../../resources/fastapi',
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue