chore: fix no tracker.js when build problem
This commit is contained in:
parent
0b42ee607b
commit
e41ab168e9
@ -1,6 +1,6 @@
|
||||
FROM node:lts-alpine
|
||||
|
||||
WORKDIR /app/tailchat
|
||||
WORKDIR /app/tianji
|
||||
|
||||
RUN npm install -g pnpm@8.3.1
|
||||
|
||||
|
@ -5,7 +5,7 @@ services:
|
||||
ports:
|
||||
- "12345:12345"
|
||||
environment:
|
||||
DATABASE_URL: postgresql://tianji:tianji@db:5432/tianji
|
||||
DATABASE_URL: postgresql://tianji:tianji@postgres:5432/tianji
|
||||
JWT_SECRET: replace-me-with-a-random-string
|
||||
ALLOW_REGISTER: "false"
|
||||
ALLOW_OPENAPI: "true"
|
||||
|
@ -6,7 +6,7 @@
|
||||
"dev": "nodemon",
|
||||
"start": "cross-env NODE_ENV=production node ./dist/server/main.js",
|
||||
"start:docker": "pnpm db:migrate:apply && pnpm db:generate && pnpm start",
|
||||
"build": "pnpm build:client && pnpm build:server && pnpm build:tracker && pnpm build:geo",
|
||||
"build": "pnpm build:tracker && pnpm build:client && pnpm build:server && pnpm build:geo",
|
||||
"build:client": "vite build",
|
||||
"build:server": "tsc -p tsconfig.server.json",
|
||||
"build:tracker": "ts-node scripts/build-tracker.ts",
|
||||
|
Loading…
Reference in New Issue
Block a user