From 0f5f2c9b03103a1a50c7848295db2d7f52ac46d7 Mon Sep 17 00:00:00 2001 From: ikrong Date: Tue, 9 Jul 2024 21:55:02 +0800 Subject: [PATCH] fix --- angular/Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/angular/Dockerfile b/angular/Dockerfile index 604d033..1a15bd6 100644 --- a/angular/Dockerfile +++ b/angular/Dockerfile @@ -1,11 +1,11 @@ -FROM bitnami/git:2 AS git +FROM --platform=linux/amd64 bitnami/git:2 AS git ARG tagName=main WORKDIR /app RUN git clone --depth 1 --single-branch -b $tagName https://github.com/angular/angular source -FROM node:16 AS node +FROM --platform=linux/amd64 node:16 AS node WORKDIR /app @@ -14,6 +14,7 @@ COPY --from=git /app/source /app/source/ RUN <