Fix Dockerfile Node version and case-sensitive import paths
Some checks failed
Build and Push Docker Image / build (push) Failing after 7m20s
Some checks failed
Build and Push Docker Image / build (push) Failing after 7m20s
This commit is contained in:
parent
d2a2d543d3
commit
25728141c2
3 changed files with 8 additions and 6 deletions
10
Dockerfile
10
Dockerfile
|
|
@ -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 \
|
||||
|
|
|
|||
|
|
@ -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[];
|
||||
|
|
|
|||
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue