From ac710a8418dfb0359b28d619c6a7d221afe22b8b Mon Sep 17 00:00:00 2001 From: Kostas Apostolopoulos Date: Wed, 25 Oct 2023 18:16:07 +0100 Subject: [PATCH] Temporarily disable the arm builder --- Dockerfile | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1d11bd2..7ee16a0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,15 +8,15 @@ RUN npm ci # Copy the rest of the application code to the container COPY ./src . -# Build stage for arm64/v8 architecture -FROM --platform=linux/arm64/v8 node:gallium-alpine3.18 AS builder-arm64 +# # Build stage for arm64/v8 architecture +# FROM --platform=linux/arm64/v8 node:gallium-alpine3.18 AS builder-arm64 -WORKDIR /app -# Copy the package.json and package-lock.json to the container -COPY ./src/package*.json . -RUN npm ci -# Copy the rest of the application code to the container -COPY ./src . +# WORKDIR /app +# # Copy the package.json and package-lock.json to the container +# COPY ./src/package*.json . +# RUN npm ci +# # Copy the rest of the application code to the container +# COPY ./src . # Production stage FROM node:gallium-alpine3.18 @@ -25,7 +25,7 @@ WORKDIR /app # Copy the files from the appropriate builder stage based on the target architecture COPY --from=builder-amd64 /app /app -COPY --from=builder-arm64 /app /app +# COPY --from=builder-arm64 /app /app # Set the default command to run when starting the container CMD ["npm", "start"] \ No newline at end of file