nginx
Some checks failed
Deploy frontend test / deploy (push) Failing after 3m23s

This commit is contained in:
vallyenfail
2026-01-19 23:29:16 +03:00
parent 3bcd5df5cf
commit 3b3a8f79b1
2 changed files with 6 additions and 6 deletions

View File

@@ -1,10 +1,12 @@
FROM node:22-alpine AS builder
WORKDIR /app
ARG VITE_BASE_URL
ENV VITE_BASE_URL=$VITE_BASE_URL
COPY . .
RUN npm install
RUN npm run build:test
RUN npm run build
FROM nginx:alpine

View File

@@ -8,10 +8,8 @@
},
"type": "module",
"scripts": {
"dev": "vite --mode development",
"build:test": "vite build --mode test",
"build-test": "vite build --mode test",
"build:prod": "vite build --mode production",
"dev": "vite",
"build": "vite build",
"type-check": "tsc --noEmit -p tsconfig.app.json",
"cache-clean": "npm cache clean --force",
"eslint": "npx eslint .",