mirror of
https://github.com/alexandrev/xslt-lab.git
synced 2026-09-13 08:43:16 +00:00
minimal updates
This commit is contained in:
+2
-2
@@ -26,8 +26,8 @@ services:
|
||||
frontend:
|
||||
build:
|
||||
context: ./frontend
|
||||
args:
|
||||
VITE_BACKEND_URL: http://backend:8000
|
||||
environment:
|
||||
VITE_BACKEND_URL: http://localhost:8000
|
||||
ports:
|
||||
- "3000:80"
|
||||
depends_on:
|
||||
|
||||
+1
-2
@@ -1,7 +1,6 @@
|
||||
# Stage 1: build the frontend
|
||||
FROM node:20-alpine AS build
|
||||
ARG VITE_BACKEND_URL
|
||||
ENV VITE_BACKEND_URL=${VITE_BACKEND_URL}
|
||||
ENV VITE_BACKEND_URL=http://localhost:8000
|
||||
WORKDIR /app
|
||||
COPY package.json ./
|
||||
RUN npm install
|
||||
|
||||
Reference in New Issue
Block a user