Skip to content

Commit

Permalink
dockerfile cleanup, reduce image size
Browse files Browse the repository at this point in the history
Signed-off-by: Tommy Hughes <[email protected]>
  • Loading branch information
tchughesiv committed Nov 21, 2024
1 parent 248396c commit c7206e5
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,16 @@ RUN apt update && apt install -y -V ca-certificates lsb-release wget make git np
apt-get clean && rm -rf /var/cache/apt/lists

ENV NPM_TOKEN '//registry.npmjs.org/:_authToken'
COPY . .
COPY . /feast
WORKDIR /feast
RUN pwd && ls -la
WORKDIR /ui
WORKDIR /feast/ui
# RUN npm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}"
RUN yarn set version berry && yarn install && yarn build:lib

WORKDIR /
WORKDIR /feast
RUN make install-python build-ui
WORKDIR /

# modify permissions to support running with a random uid
RUN mkdir -m 775 /.cache
Expand Down

0 comments on commit c7206e5

Please sign in to comment.