Skip to content

Commit 90b0b4f

Browse files
committed
Fix Local Client Env
1 parent b67e418 commit 90b0b4f

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

client/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ COPY . .
1515

1616
# Set build-time environment variables
1717
ARG VITE_API_BASE_URL
18-
ENV VITE_API_BASE_URL=$VITE_API_BASE_URL
18+
ENV VITE_API_BASE_URL=${VITE_API_BASE_URL}
1919

2020
# Build the app
2121
RUN npm run build

docker-compose.dev.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ services:
33
build:
44
context: ./client
55
dockerfile: Dockerfile
6+
args:
7+
VITE_API_BASE_URL: ${VITE_API_BASE_URL}
68
ports:
79
- "3000:80"
810
env_file: .env.dev

0 commit comments

Comments
 (0)