diff --git a/Dockerfile b/Dockerfile index b3c3468..9345e7e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,4 +16,6 @@ COPY nginx.conf /etc/nginx/nginx.conf COPY --from=builder /app/dist /usr/share/nginx/html +RUN envsubst '$API_BASE_URL' < /etc/nginx/nginx.conf > /etc/nginx/nginx.conf + CMD ["nginx", "-g", "daemon off;"]