File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9090
9191 - name : Create .env file
9292 run : |
93- echo "VITE_API_URL=http://localhost:8080" >> .env
93+ echo "VITE_API_URL=http://localhost:8080" >> .env.domain
9494
9595 - name : Set up Docker Buildx
9696 uses : docker/setup-buildx-action@v3
@@ -112,7 +112,7 @@ jobs:
112112
113113 - name : Create .env file
114114 run : |
115- echo "VITE_API_URL=http://localhost:8080" >> .env
115+ echo "VITE_API_URL=http://localhost:8080" >> .env.domain
116116
117117 - name : Install dependencies
118118 run : npm ci
@@ -139,7 +139,7 @@ jobs:
139139
140140 - name : Create .env file
141141 run : |
142- echo "VITE_API_URL=http://localhost:8080" >> .env
142+ echo "VITE_API_URL=http://localhost:8080" >> .env.domain
143143
144144 - name : Install dependencies
145145 run : npm ci
@@ -166,7 +166,7 @@ jobs:
166166
167167 - name : Create .env file
168168 run : |
169- echo "VITE_API_URL=http://localhost:8080" >> .env
169+ echo "VITE_API_URL=http://localhost:8080" >> .env.domain
170170
171171 - name : Install dependencies
172172 run : npm ci
@@ -193,7 +193,7 @@ jobs:
193193
194194 - name : Create .env file
195195 run : |
196- echo "VITE_API_URL=http://localhost:8080" >> .env
196+ echo "VITE_API_URL=http://localhost:8080" >> .env.domain
197197
198198 - name : Install dependencies
199199 run : npm ci
Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ WORKDIR /app
33COPY package*.json ./
44RUN npm ci
55COPY . .
6- COPY .env .env
76RUN npm run build
87
98FROM nginx:stable-alpine
Original file line number Diff line number Diff line change 44 "version" : " 0.0.0" ,
55 "type" : " module" ,
66 "scripts" : {
7- "dev" : " vite" ,
8- "build" : " tsc -b && vite build" ,
7+ "dev" : " vite --mode domain " ,
8+ "build" : " tsc -b && vite build --mode domain " ,
99 "preview" : " vite preview" ,
1010 "lint-check" : " eslint . && prettier --check . && stylelint \" **/*.{css,scss}\" " ,
1111 "lint-fix" : " eslint . --fix && prettier --write . && stylelint \" **/*.{css,scss}\" --fix"
You can’t perform that action at this time.
0 commit comments