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
WORKDIR /app/tailchat
WORKDIR /app/tianji
RUN npm install -g pnpm@8.3.1

View File

@ -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"

View File

@ -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",