From 6ca1e60983d86ced4f677836befc08c7e47a1a72 Mon Sep 17 00:00:00 2001 From: bropat Date: Sun, 29 Sep 2024 07:43:13 +0000 Subject: [PATCH] Removed again arm v6 and v7 platforms --- .github/workflows/publish_to_docker_hub.yaml | 2 +- docker/Dockerfile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish_to_docker_hub.yaml b/.github/workflows/publish_to_docker_hub.yaml index 1a0f3bf..cb42d80 100644 --- a/.github/workflows/publish_to_docker_hub.yaml +++ b/.github/workflows/publish_to_docker_hub.yaml @@ -59,6 +59,6 @@ jobs: with: context: . file: ./docker/Dockerfile - platforms: linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7 + platforms: linux/amd64,linux/arm64 push: true tags: ${{ steps.prep.outputs.tags }} diff --git a/docker/Dockerfile b/docker/Dockerfile index da766ed..e188ddd 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,9 +1,9 @@ -FROM node:18-alpine3.18 AS build +FROM node:20-alpine3.18 AS build WORKDIR /tmp COPY . . RUN npm ci && npm run build -FROM node:18-alpine3.18 AS prod +FROM node:20-alpine3.18 AS prod WORKDIR /tmp_prod COPY --from=build /tmp/dist ./dist COPY --from=build /tmp/docker/run.sh ./run.sh