update
This commit is contained in:
parent
3a068f57dc
commit
122f123ba6
2 changed files with 14 additions and 2 deletions
14
Dockerfile
14
Dockerfile
|
|
@ -1,5 +1,17 @@
|
|||
FROM node:24.10-alpine3.22 AS builder
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package*.json ./
|
||||
RUN npm ci --prefer-offline --no-audit
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN npm run build
|
||||
|
||||
FROM nginx:alpine
|
||||
COPY dist/ /usr/share/nginx/html
|
||||
|
||||
COPY --from=builder /app/dist/ /usr/share/nginx/html/
|
||||
|
||||
COPY nginx.conf /etc/nginx/nginx.conf
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ import App from './App.vue'
|
|||
import router from './router'
|
||||
|
||||
const app = createApp(App)
|
||||
export const BASE_URL = 'http://localhost:9090/api/v2'
|
||||
export const BASE_URL = 'https://api.nqws.ru/api/v2'
|
||||
|
||||
app.use(createPinia())
|
||||
app.use(router)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue