Skip to content

Commit

Permalink
this should fix it
Browse files Browse the repository at this point in the history
I think the last from to be used was being used, breaking the
build. it was writing to the fastembed image.
  • Loading branch information
mike dupont committed Jan 14, 2025
1 parent 947cd6a commit 6f79bd2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
#FROM node:23.3.0-slim AS builder
# note this architecture is listed twice in this file!
#FROM node:23-bookworm-slim AS builder

FROM arm64v8/node:23-bookworm-slim AS builder
FROM h4ckermike/fastembed-js:pr-1 AS fastembed
#docker pull
RUN apt-get update
RUN apt-get install -y bash
Expand Down Expand Up @@ -35,6 +35,10 @@ RUN pnpm install \
# Create a new stage for the final image
#FROM node:23.3.0-slim
#FROM node:23-bookworm-slim
FROM h4ckermike/fastembed-js:pr-1 AS fastembed

# dont do anything to this fast embed

FROM arm64v8/node:23-bookworm-slim

# Install runtime dependencies if needed
Expand Down

0 comments on commit 6f79bd2

Please sign in to comment.