fix: live server docker build changes (#8166)
This commit is contained in:
parent
e36f4f47f1
commit
0240e46f04
4 changed files with 11 additions and 8 deletions
|
|
@ -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/dist ./apps/live/dist
|
||||||
COPY --from=installer /app/apps/live/node_modules ./apps/live/node_modules
|
COPY --from=installer /app/apps/live/node_modules ./apps/live/node_modules
|
||||||
COPY --from=installer /app/node_modules ./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
|
ENV TURBO_TELEMETRY_DISABLED=1
|
||||||
|
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
|
|
||||||
CMD ["node", "apps/live/dist/start.js"]
|
CMD ["node", "apps/live"]
|
||||||
|
|
|
||||||
|
|
@ -3,13 +3,18 @@
|
||||||
"version": "1.1.0",
|
"version": "1.1.0",
|
||||||
"license": "AGPL-3.0",
|
"license": "AGPL-3.0",
|
||||||
"description": "A realtime collaborative server powers Plane's rich text editor",
|
"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,
|
"private": true,
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc --noEmit && tsdown",
|
"build": "tsc --noEmit && tsdown",
|
||||||
"dev": "tsdown --watch --onSuccess \"node --env-file=.env dist/start.js\"",
|
"dev": "tsdown --watch --onSuccess \"node --env-file=.env .\"",
|
||||||
"start": "node --env-file=.env dist/start.js",
|
"start": "node --env-file=.env .",
|
||||||
"check:lint": "eslint . --max-warnings 10",
|
"check:lint": "eslint . --max-warnings 10",
|
||||||
"check:types": "tsc --noEmit",
|
"check:types": "tsc --noEmit",
|
||||||
"check:format": "prettier --check \"**/*.{ts,tsx,md,json,css,scss}\"",
|
"check:format": "prettier --check \"**/*.{ts,tsx,md,json,css,scss}\"",
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,6 @@
|
||||||
{
|
{
|
||||||
"extends": "@plane/typescript-config/base.json",
|
"extends": "@plane/typescript-config/base.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"module": "ES2015",
|
|
||||||
"moduleResolution": "Bundler",
|
|
||||||
"lib": ["ES2015"],
|
|
||||||
"target": "ES2015",
|
|
||||||
"outDir": "./dist",
|
"outDir": "./dist",
|
||||||
"rootDir": ".",
|
"rootDir": ".",
|
||||||
"baseUrl": ".",
|
"baseUrl": ".",
|
||||||
|
|
|
||||||
|
|
@ -7,4 +7,5 @@ export default defineConfig({
|
||||||
dts: false,
|
dts: false,
|
||||||
clean: true,
|
clean: true,
|
||||||
sourcemap: false,
|
sourcemap: false,
|
||||||
|
exports: true,
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue