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
|
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
|
||||||
|
|
||||||
|
@ -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"
|
||||||
|
@ -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",
|
||||||
|
Loading…
Reference in New Issue
Block a user