Merge pull request #2042 from Sma-Das/patch-1
This commit is contained in:
commit
a55075fdb6
@ -29,8 +29,7 @@ RUN npm run build
|
|||||||
#########################################
|
#########################################
|
||||||
# We are using Github Actions: redhat-actions/buildah-build@v2 which needs manual selection of arch in base image
|
# We are using Github Actions: redhat-actions/buildah-build@v2 which needs manual selection of arch in base image
|
||||||
# Remove TARGETARCH if docker buildx is supported in the CI release as --platform=$TARGETPLATFORM will be automatically set
|
# Remove TARGETARCH if docker buildx is supported in the CI release as --platform=$TARGETPLATFORM will be automatically set
|
||||||
ARG TARGETARCH
|
|
||||||
ARG TARGETPLATFORM
|
ARG TARGETPLATFORM
|
||||||
FROM ${TARGETARCH}/nginx:stable-alpine AS cyberchef
|
FROM --platform=${TARGETPLATFORM} nginx:stable-alpine AS cyberchef
|
||||||
|
|
||||||
COPY --from=builder /app/build/prod /usr/share/nginx/html/
|
COPY --from=builder /app/build/prod /usr/share/nginx/html/
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user