Fix Dockerfile Node version and case-sensitive import paths
Some checks failed
Build and Push Docker Image / build (push) Failing after 7m20s

This commit is contained in:
myrmidex 2026-03-19 01:43:33 +01:00
parent d2a2d543d3
commit 25728141c2
3 changed files with 8 additions and 6 deletions

View file

@ -1,12 +1,14 @@
# Production Dockerfile with FrankenPHP
FROM dunglas/frankenphp:latest-php8.3-alpine
# Install system dependencies
# Install system dependencies (except Node - Alpine's is too old for Vite 7)
RUN apk add --no-cache \
nodejs \
npm \
git \
mysql-client
mysql-client \
curl
# Install Node.js 20.19.0+ (Vite 7 requires 20.19+)
RUN curl -fsSL https://unofficial-builds.nodejs.org/download/release/v20.19.0/node-v20.19.0-linux-x64-musl.tar.xz | tar -xJ -C /usr/local --strip-components=1
# Install PHP extensions
RUN install-php-extensions \

View file

@ -10,7 +10,7 @@ import { regenerateRecoveryCodes } from '@/routes/two-factor';
import { Form } from '@inertiajs/react';
import { Eye, EyeOff, LockKeyhole, RefreshCw } from 'lucide-react';
import { useCallback, useEffect, useRef, useState } from 'react';
import AlertError from './alert-error';
import AlertError from './AlertError';
interface TwoFactorRecoveryCodesProps {
recoveryCodesList: string[];

View file

@ -19,7 +19,7 @@ import { Form } from '@inertiajs/react';
import { REGEXP_ONLY_DIGITS } from 'input-otp';
import { Check, Copy, ScanLine } from 'lucide-react';
import { useCallback, useEffect, useMemo, useRef, useState } from 'react';
import AlertError from './alert-error';
import AlertError from './AlertError';
import { Spinner } from './ui/spinner';
function GridScanIcon() {