fix: introduce workaround for cross-platform docker image building
Some checks failed
Build and push Docker image / build (push) Failing after 3m59s
Release new version / release (push) Successful in 28s
Update changelog / changelog (push) Successful in 26s

This commit is contained in:
2026-01-09 22:29:17 +01:00
parent c829cb2a6b
commit 18e7baa73c
3 changed files with 16 additions and 23 deletions

View File

@@ -1,11 +1,16 @@
# Credit: https://www.digitalocean.com/community/tutorials/how-to-build-a-node-js-application-with-docker
# Credit:
# https://www.digitalocean.com/community/tutorials/how-to-build-a-node-js-application-with-docker
# https://stackoverflow.com/a/56941391
#
# Includes workaround for:
# https://github.com/expo/expo/issues/33340
# https://github.com/npm/cli/issues/4828
FROM node:24-trixie-slim AS builder
WORKDIR /app
COPY ./kittyurl-frontend/package*.json ./
RUN npm ci && npm cache clean --force
RUN npm ci && npm i --force && npm cache clean --force
COPY ./kittyurl-frontend/. ./
RUN npm run build