File tree Expand file tree Collapse file tree
sdk/python/feast/infra/feature_servers/multicloud Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11FROM registry.access.redhat.com/ubi8/python-311:1
22
3+ USER 0
4+ RUN npm install -g yarn yalc && rm -rf .npm
5+ USER default
6+
37COPY --chown=default . ${APP_ROOT}/src
8+
9+ WORKDIR ${APP_ROOT}/src/ui
10+ RUN npm install && \
11+ npm run build:lib-dev && \
12+ rm -rf node_modules && \
13+ npm cache clean --force
14+
15+ WORKDIR ${APP_ROOT}/src/sdk/python/feast/ui
16+ RUN yalc add @feast-dev/feast-ui && \
17+ git diff package.json && \
18+ yarn install && \
19+ npm run build --omit=dev && \
20+ rm -rf node_modules && \
21+ npm cache clean --force && \
22+ yarn cache clean --all
23+
24+ WORKDIR ${APP_ROOT}/src
425RUN pip install --no-cache-dir pip-tools && \
526 make install-python-ci-dependencies && \
627 pip uninstall -y pip-tools
728
8- RUN npm install -S yarn
9- ENV PATH ${PATH}:${APP_ROOT}/src/node_modules/yarn/bin
10- RUN make build-ui && yarn cache clean --all
11-
1229# modify permissions to support running with a random uid
1330RUN chmod g+w $(python -c "import feast.ui as ui; print(ui.__path__)" | tr -d "[']")/build/projects-list.json
You can’t perform that action at this time.
0 commit comments