Skip to content

Commit dc6b44e

Browse files
committed
feat(api): try use executable in pure Ubuntu image
1 parent 45062a1 commit dc6b44e

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

zerops.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,28 +22,24 @@ zerops:
2222
- bun install
2323
- bun run postinstall
2424
- bun run validateEnv
25-
- bun x nx build backend
25+
- bun x nx build:executable backend
2626
deployFiles:
27-
- apps/backend/dist
28-
- node_modules
29-
- package.json
27+
- apps/dist/backend
3028
cache:
3129
- node_modules
3230
- bun.lockb
3331

3432
run:
35-
base: bun@nightly
33+
base: ubuntu@latest
3634
os: ubuntu
3735
ports:
3836
- port: 3000
3937
httpSupport: true
4038
prepareCommands:
41-
- echo "Upgrading bun to 1.1.34"
42-
- bun upgrade
4339
- echo "Installing yt-dlp"
4440
- curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o /usr/bin/yt-dlp
4541
- chmod a+rx /usr/bin/yt-dlp # Make executable
46-
start: bun apps/backend/dist/index.js
42+
start: apps/dist/backend
4743

4844
deploy:
4945
readinessCheck:

0 commit comments

Comments
 (0)