update deploy

This commit is contained in:
AceDataCloud committed 2022-04-04 16:32:34 +08:00
1 parent d1f7b0fe5f
commit 8cbf6bb5d6
4 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -1,5 +1,5 @@
# build stage
FROM node:15.12.0 as build-stage
FROM node:14.17.0 as build-stage
WORKDIR /app
COPY package.json yarn.lock ./
RUN yarn
+1 -1
View File
@@ -3,7 +3,7 @@ server {
server_name localhost;
location /api/ {
proxy_pass http://zhishuyun-auth-backend:8000/api/;
proxy_pass http://zhishuyun-academy-backend:8000/api/;
proxy_http_version 1.1;
}
+1 -1
View File
@@ -2,7 +2,7 @@
"name": "zhishuyun-academy",
"version": "0.1.0",
"scripts": {
"start": "vite --host",
"start": "vite",
"build": "vue-tsc --noEmit --skipLibCheck && vite build",
"serve": "vite preview",
"lint": "npx eslint src --fix --ext .ts,.tsx,.vue,.js,.jsx",
+2 -2
View File
@@ -2,8 +2,8 @@ import { defineConfig } from 'vite';
import vue from '@vitejs/plugin-vue';
import replace from '@rollup/plugin-replace';
import { string } from 'rollup-plugin-string';
import path from 'path';
import fs from 'fs';
import * as path from 'path';
import * as fs from 'fs';
export default defineConfig({
server: {