1
0
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:
MoonTestUse1
2025-01-06 10:01:46 +06:00
parent 5cda8c7ec2
commit 5d81279583
2 changed files with 6 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
# Build stage # Build stage
FROM node:18 as build FROM node:18-alpine AS build
WORKDIR /app WORKDIR /app
@@ -12,6 +12,9 @@ RUN npm install
# Copy source code # Copy source code
COPY . . COPY . .
# Install TypeScript and Vue compiler globally
RUN npm install -g typescript @vue/compiler-sfc
# Build the application # Build the application
RUN npm run build RUN npm run build

View File

@@ -13,8 +13,8 @@
"sourceMap": true, "sourceMap": true,
"baseUrl": ".", "baseUrl": ".",
"types": [ "types": [
"webpack-env", "node",
"node" "vite/client"
], ],
"paths": { "paths": {
"@/*": [ "@/*": [