feat: fix vite url using env var
This commit is contained in:
+5
-4
@@ -1,5 +1,3 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
db:
|
||||
image: postgres:15
|
||||
@@ -37,8 +35,11 @@ services:
|
||||
- app-network
|
||||
|
||||
frontend:
|
||||
build: ./frontend
|
||||
env_file: ./.env
|
||||
build:
|
||||
context: ./frontend
|
||||
args:
|
||||
VITE_API_URL: ${API_URL}
|
||||
|
||||
ports:
|
||||
- "3000:80"
|
||||
depends_on:
|
||||
|
||||
Reference in New Issue
Block a user