This commit is contained in:
Azamov Samandar
2025-06-01 09:48:20 +00:00
parent 7ac2613c05
commit d5c03acc6d
2 changed files with 19 additions and 3 deletions

16
Makefile Normal file
View File

@@ -0,0 +1,16 @@
FILE = dc-front.yml
pull:
git fetch
git merge origin/main
down:
docker compose -f $(FILE) down
up:
docker compose -f $(FILE) up -d --build
deploy: pull down up

View File

@@ -4,9 +4,9 @@
"private": true,
"scripts": {
"dev": "cross-env NEXT_PUBLIC_API_URL=https://cpost.felixits.uz next dev --port=3080",
"build": "cross-env NEXT_PUBLIC_API_URL=https://api.cpost-express.uz next build",
"build": "cross-env NEXT_PUBLIC_API_URL=https://api.cpcargo.uz next build",
"build:dev": "cross-env NEXT_PUBLIC_API_URL=https://cpost.felixits.uz next build",
"build:prod": "cross-env NEXT_PUBLIC_API_URL=https://api.cpost-express.uz next build",
"build:prod": "cross-env NEXT_PUBLIC_API_URL=https://api.cpcargo.uz next build",
"start": "next start",
"lint": "next lint",
"test": "vitest",
@@ -72,4 +72,4 @@
"vitest": "^1.1.3"
},
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
}
}