fix: docker

This commit is contained in:
wancat committed 2024-02-28 23:32:06 +08:00
1 parent 0644783cc4
commit 15278dfab2
5 files changed
+2 -18

No files matched your search

+1 -3
View File
@@ -20,9 +20,7 @@ COPY packages/file-graph ./packages/file-graph
COPY packages/utils ./packages/utils
COPY packages/constants ./packages/constants
COPY app ./app
RUN yarn workspace @linux-odyssey/file-graph build
RUN yarn workspace @linux-odyssey/utils build
RUN yarn workspace @linux-odyssey/constants build
RUN yarn workspace app build:refs
RUN yarn workspace app build
# Production stage
+1
View File
@@ -7,6 +7,7 @@
"dev": "vite",
"dev:docker": "API_TARGET=http://backend:3000 vite",
"build": "vite build",
"build:refs": "tsc --build",
"preview": "vite preview"
},
"dependencies": {
-1
View File
@@ -23,7 +23,6 @@
},
"include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.vue", "src/**/*.js"],
"references": [
{ "path": "./tsconfig.node.json" },
{ "path": "../packages/utils" },
{ "path": "../packages/constants" },
{ "path": "../packages/file-graph" }
-10
View File
@@ -1,10 +0,0 @@
{
"compilerOptions": {
"composite": true,
"skipLibCheck": true,
"module": "ESNext",
"moduleResolution": "bundler",
"allowSyntheticDefaultImports": true
},
"include": ["vite.config.ts"]
}