mirror of
https://github.com/FoggedLens/deflock.git
synced 2026-02-12 15:02:45 +00:00
fix build issues
This commit is contained in:
@@ -1,9 +1,14 @@
|
||||
# Stage 1: Build the frontend
|
||||
FROM docker.io/node:18 AS frontend-build
|
||||
FROM docker.io/node:22 AS frontend-build
|
||||
WORKDIR /app/frontend
|
||||
COPY webapp/package*.json ./
|
||||
RUN npm install
|
||||
COPY webapp ./
|
||||
COPY webapp/tsconfig*.json ./
|
||||
COPY webapp/env.d.ts ./
|
||||
COPY webapp/vite.config.ts ./
|
||||
COPY webapp/index.html ./
|
||||
COPY webapp/public ./public/
|
||||
COPY webapp/src ./src/
|
||||
RUN npm run build
|
||||
|
||||
# Stage 2: Build the Scala app
|
||||
|
||||
1777
webapp/package-lock.json
generated
1777
webapp/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -5,7 +5,8 @@
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"build": "run-p type-check \"build-only {@}\" --",
|
||||
"build": "vite build",
|
||||
"build-with-typecheck": "run-p type-check \"build-only {@}\" --",
|
||||
"preview": "vite preview",
|
||||
"build-only": "vite build",
|
||||
"type-check": "vue-tsc --build --force"
|
||||
|
||||
@@ -7,6 +7,8 @@
|
||||
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
|
||||
"target": "es2020",
|
||||
"lib": ["es2020", "dom"],
|
||||
"moduleResolution": "bundler",
|
||||
"skipLibCheck": true,
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"@/*": ["./src/*"]
|
||||
|
||||
@@ -7,5 +7,8 @@
|
||||
{
|
||||
"path": "./tsconfig.app.json"
|
||||
}
|
||||
]
|
||||
],
|
||||
"compilerOptions": {
|
||||
"skipLibCheck": true
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,9 +11,11 @@
|
||||
"composite": true,
|
||||
"noEmit": true,
|
||||
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",
|
||||
|
||||
"target": "es2020",
|
||||
"lib": ["es2020", "dom"],
|
||||
"module": "ESNext",
|
||||
"moduleResolution": "Bundler",
|
||||
"types": ["node"]
|
||||
"moduleResolution": "bundler",
|
||||
"types": ["node"],
|
||||
"skipLibCheck": true
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user