We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b67e418 commit 90b0b4fCopy full SHA for 90b0b4f
client/Dockerfile
@@ -15,7 +15,7 @@ COPY . .
15
16
# Set build-time environment variables
17
ARG VITE_API_BASE_URL
18
-ENV VITE_API_BASE_URL=$VITE_API_BASE_URL
+ENV VITE_API_BASE_URL=${VITE_API_BASE_URL}
19
20
# Build the app
21
RUN npm run build
docker-compose.dev.yml
@@ -3,6 +3,8 @@ services:
3
build:
4
context: ./client
5
dockerfile: Dockerfile
6
+ args:
7
+ VITE_API_BASE_URL: ${VITE_API_BASE_URL}
8
ports:
9
- "3000:80"
10
env_file: .env.dev
0 commit comments