Skip to content

Commit

Permalink
feat(api): try use executable in pure Ubuntu image
Browse files Browse the repository at this point in the history
  • Loading branch information
BleedingDev committed Nov 16, 2024
1 parent 45062a1 commit 3a1b8e2
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions zerops.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,28 +22,24 @@ zerops:
- bun install
- bun run postinstall
- bun run validateEnv
- bun x nx build backend
- bun x nx build:executable backend
deployFiles:
- apps/backend/dist
- node_modules
- package.json
- apps/dist/backend
cache:
- node_modules
- bun.lockb

run:
base: bun@nightly
base: ubuntu@latest
os: ubuntu
ports:
- port: 3000
httpSupport: true
prepareCommands:
- echo "Upgrading bun to 1.1.34"
- bun upgrade
- echo "Installing yt-dlp"
- curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o /usr/bin/yt-dlp
- chmod a+rx /usr/bin/yt-dlp # Make executable
start: bun apps/backend/dist/index.js
start: apps/dist/backend

deploy:
readinessCheck:
Expand Down

1 comment on commit 3a1b8e2

@vercel
Copy link

@vercel vercel bot commented on 3a1b8e2 Nov 16, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

web – ./apps/legacy_nmit

web-git-master-naucmeits-projects.vercel.app
web-naucmeits-projects.vercel.app
naucme.it

Please sign in to comment.