Skip to content

Commit

Permalink
fixing the docker to build amd
Browse files Browse the repository at this point in the history
  • Loading branch information
mike dupont committed Jan 14, 2025
1 parent 8d28cf1 commit ebfce98
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Use a specific Node.js version for better reproducibility
#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 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
Expand Down Expand Up @@ -33,7 +34,8 @@ RUN pnpm install \

# Create a new stage for the final image
#FROM node:23.3.0-slim
FROM node:23-bookworm-slim
#FROM node:23-bookworm-slim
FROM arm64v8/node:23-bookworm-slim

# Install runtime dependencies if needed
RUN apt-get update
Expand Down

0 comments on commit ebfce98

Please sign in to comment.