mirror of
https://gitlab.com/MoonTestUse1/AdministrationItDepartmens.git
synced 2025-08-14 00:25:46 +02:00
Fix Dockerfile and TypeScript configuration
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# Build stage
|
||||
FROM node:18 as build
|
||||
FROM node:18-alpine AS build
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
@@ -12,6 +12,9 @@ RUN npm install
|
||||
# Copy source code
|
||||
COPY . .
|
||||
|
||||
# Install TypeScript and Vue compiler globally
|
||||
RUN npm install -g typescript @vue/compiler-sfc
|
||||
|
||||
# Build the application
|
||||
RUN npm run build
|
||||
|
||||
|
@@ -13,8 +13,8 @@
|
||||
"sourceMap": true,
|
||||
"baseUrl": ".",
|
||||
"types": [
|
||||
"webpack-env",
|
||||
"node"
|
||||
"node",
|
||||
"vite/client"
|
||||
],
|
||||
"paths": {
|
||||
"@/*": [
|
||||
|
Reference in New Issue
Block a user