chore: fix no tracker.js when build problem

This commit is contained in:
moonrailgun 2023-10-22 16:59:04 +08:00
parent 0b42ee607b
commit e41ab168e9
4 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
FROM node:lts-alpine FROM node:lts-alpine
WORKDIR /app/tailchat WORKDIR /app/tianji
RUN npm install -g pnpm@8.3.1 RUN npm install -g pnpm@8.3.1

View File

@ -2,7 +2,7 @@
Insight into everything Insight into everything
`Uptime Monitor` + `Website analytics` + `Server Status ` = `Tianji` `Uptime Monitor` + `Website analytics` + `Server Status` = `Tianji`
All in one project! All in one project!

View File

@ -5,7 +5,7 @@ services:
ports: ports:
- "12345:12345" - "12345:12345"
environment: 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 JWT_SECRET: replace-me-with-a-random-string
ALLOW_REGISTER: "false" ALLOW_REGISTER: "false"
ALLOW_OPENAPI: "true" ALLOW_OPENAPI: "true"

View File

@ -6,7 +6,7 @@
"dev": "nodemon", "dev": "nodemon",
"start": "cross-env NODE_ENV=production node ./dist/server/main.js", "start": "cross-env NODE_ENV=production node ./dist/server/main.js",
"start:docker": "pnpm db:migrate:apply && pnpm db:generate && pnpm start", "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:client": "vite build",
"build:server": "tsc -p tsconfig.server.json", "build:server": "tsc -p tsconfig.server.json",
"build:tracker": "ts-node scripts/build-tracker.ts", "build:tracker": "ts-node scripts/build-tracker.ts",