Repository navigation
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: jenoOvchi The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
/assign @MattDelac |
Codecov Report
@@ Coverage Diff @@
## master #2572 +/- ##
==========================================
- Coverage 80.67% 71.18% -9.50%
==========================================
Files 165 140 -25
Lines 13759 12170 -1589
==========================================
- Hits 11100 8663 -2437
- Misses 2659 3507 +848
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
|
Mind signing your commits? |
Yes. Do I need to recreate pull request for this? |
|
nope you can resign in this PR and force push |
|
@jenoOvchi Could the base image be tagged too with the version number? |
Done |
Done |
|
What's the intention behind this btw? Since for local development, yarn start is still definitely the fastest path. If you want to be deploying this as a service, you'll have to also be regularly syncing with the registry (as is). Additionally, presumably if you want to use it you also would want to run e.g. minify, etc. e.g. something like FROM node:17.9.0-slim
WORKDIR /app
# add `/app/node_modules/.bin` to $PATH
ENV PATH /app/node_modules/.bin:$PATH
# Install UI dependencies
COPY ui/package.json .
RUN npm install
# Copy over app
COPY ui/tsconfig.json .
COPY ui/public ./public
COPY ui/src ./src
# Build for production.
RUN npm run build --production
# Serve the UI from a port
RUN npm install -g serve
EXPOSE 3000
CMD ["serve", "-s", "build"]
|
|
@adchia I think this would be useful when deploying the Feast UI as a service. I assume that you can configure Feast UI to point to a remote repository. |
Yes, I think so too. Now we ingegrates Feast in our platform, as Feature Registry use an S3 Bucket and as workaround make a sync procedure from S3 to Feast UI files directory. But in the future it will be greate to have an option to configure on the UI side connection to the remote repository and use it as a service. |
|
hey sorry just checking in here. looks like commits aren't signed anymore? Otherwise, happy to merge |
|
Hi @jenoOvchi, would you mind signing your commits? |
Done. |
If it is actual i can change Dockerfile in this PR to something like that. |
|
Looks like you need to sign commits too. If you want to deploy as a service, might be better to have this Dockerfile instead call into the Having this, in combination with a |
What this PR does / why we need it:
To run Feast UI locally in Docker.