Merge branch 'main' into feat-automation-test

This commit is contained in:
wancat committed 2024-02-23 14:59:00 +08:00
commit 025553f42a
123 files changed
+8922 -11964

No files matched your search

+4 -2
View File
@@ -1,7 +1,6 @@
# Base stage
FROM node:20-alpine as base
RUN yarn set version berry
WORKDIR /app
COPY package.json yarn.lock tsconfig.json ./
COPY packages/file-graph/package.json ./packages/file-graph/package.json
@@ -21,7 +20,10 @@ COPY packages/file-graph ./packages/file-graph
COPY packages/utils ./packages/utils
COPY packages/constants ./packages/constants
COPY app ./app
RUN yarn build
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
# Production stage
FROM nginx:stable-alpine as prod
-1
View File
@@ -7,7 +7,6 @@
"dev": "vite",
"dev:docker": "API_TARGET=http://backend:3000 vite",
"build": "vite build",
"watch": "yarn dev",
"preview": "vite preview"
},
"dependencies": {
-1
View File
@@ -7,5 +7,4 @@ const api = axios.create({
},
withCredentials: true,
})
export default api