fix: live server docker build changes (#8166)

This commit is contained in:
sriram veeraghanta
2025-11-24 14:08:37 +05:30
committed by GitHub
parent e36f4f47f1
commit 0240e46f04
4 changed files with 11 additions and 8 deletions

View File

@@ -56,9 +56,10 @@ COPY --from=installer /app/packages ./packages
COPY --from=installer /app/apps/live/dist ./apps/live/dist
COPY --from=installer /app/apps/live/node_modules ./apps/live/node_modules
COPY --from=installer /app/node_modules ./node_modules
COPY --from=installer /app/apps/live/package.json ./apps/live/package.json
ENV TURBO_TELEMETRY_DISABLED=1
EXPOSE 3000
CMD ["node", "apps/live/dist/start.js"]
CMD ["node", "apps/live"]

View File

@@ -3,13 +3,18 @@
"version": "1.1.0",
"license": "AGPL-3.0",
"description": "A realtime collaborative server powers Plane's rich text editor",
"main": "./dist/start.js",
"main": "./dist/start.mjs",
"module": "./dist/start.mjs",
"exports": {
".": "./dist/start.mjs",
"./package.json": "./package.json"
},
"private": true,
"type": "module",
"scripts": {
"build": "tsc --noEmit && tsdown",
"dev": "tsdown --watch --onSuccess \"node --env-file=.env dist/start.js\"",
"start": "node --env-file=.env dist/start.js",
"dev": "tsdown --watch --onSuccess \"node --env-file=.env .\"",
"start": "node --env-file=.env .",
"check:lint": "eslint . --max-warnings 10",
"check:types": "tsc --noEmit",
"check:format": "prettier --check \"**/*.{ts,tsx,md,json,css,scss}\"",

View File

@@ -1,10 +1,6 @@
{
"extends": "@plane/typescript-config/base.json",
"compilerOptions": {
"module": "ES2015",
"moduleResolution": "Bundler",
"lib": ["ES2015"],
"target": "ES2015",
"outDir": "./dist",
"rootDir": ".",
"baseUrl": ".",

View File

@@ -7,4 +7,5 @@ export default defineConfig({
dts: false,
clean: true,
sourcemap: false,
exports: true,
});