-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of github.com:radicalbit/radicalbit-ai-monitoring…
… into feature/ROS-280-add-reference-model-quality-of-multiclass
- Loading branch information
Showing
123 changed files
with
3,866 additions
and
223 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
VITE_BASE_URL=APP_BASE_URL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,26 @@ | ||
FROM node:20.10.0-bullseye AS build | ||
FROM node:20.10.0-bullseye AS dev | ||
|
||
WORKDIR /app | ||
|
||
COPY . . | ||
|
||
RUN npm install --global --force [email protected] && \ | ||
yarn install && \ | ||
yarn build:dev | ||
yarn install | ||
|
||
FROM node:20.10.0-bullseye AS build | ||
|
||
WORKDIR /app | ||
|
||
COPY . . | ||
COPY --from=dev /app/node_modules /app/node_modules | ||
|
||
RUN yarn build:prod | ||
|
||
FROM nginx:alpine3.19 | ||
|
||
EXPOSE 80 | ||
|
||
COPY --from=build /app/dist /usr/share/nginx/html | ||
COPY nginx.conf /etc/nginx/conf.d/default.conf | ||
COPY --from=build /app/dist /usr/share/nginx/html/ | ||
COPY nginx.conf /etc/nginx/conf.d/default.conf | ||
COPY env.sh /docker-entrypoint.d/ | ||
RUN chmod +x /docker-entrypoint.d/env.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#! /bin/sh | ||
|
||
for i in $(env | grep "APP_"); do | ||
key=$(echo "$i" | cut -d '=' -f 1) | ||
value=$(echo "$i" | cut -d '=' -f 2-) | ||
|
||
echo "$key=$value" | ||
|
||
find "/usr/share/nginx/html" -type f -exec sed -i "s|${key}|${value}|g" '{}' + | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
ui/src/components/modals/add-new-model/modal-context-provider.jsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.