File tree Expand file tree Collapse file tree 1 file changed +21
-4
lines changed
sdk/python/feast/infra/feature_servers/multicloud Expand file tree Collapse file tree 1 file changed +21
-4
lines changed Original file line number Diff line number Diff line change 1
1
FROM registry.access.redhat.com/ubi8/python-311:1
2
2
3
+ USER 0
4
+ RUN npm install -g yarn yalc && rm -rf .npm
5
+ USER default
6
+
3
7
COPY --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
4
25
RUN pip install --no-cache-dir pip-tools && \
5
26
make install-python-ci-dependencies && \
6
27
pip uninstall -y pip-tools
7
28
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
-
12
29
# modify permissions to support running with a random uid
13
30
RUN 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