1 Commits

Author SHA1 Message Date
Renovate Bot
894091702c chore(deps): update all-dependencies
Some checks failed
Build and Push Docker Image / build (pull_request) Failing after 15s
2026-01-29 22:02:19 +00:00
9 changed files with 108 additions and 417 deletions

View File

@@ -1 +1 @@
25.6.0
25.5.0

View File

@@ -1,31 +1,43 @@
FROM docker.io/library/node:25 AS frontend-builder
# Stage 1: Build the Next.js frontend
FROM docker.io/library/node:25-alpine AS frontend-builder
LABEL authors="lucasoskorep"
WORKDIR /build/mta-sign-ui
# Enable corepack for pnpm
RUN corepack enable && corepack prepare pnpm@10.28.1 --activate
# Copy package files first for better caching
COPY mta-sign-ui/package.json mta-sign-ui/pnpm-lock.yaml* ./
RUN npm install -g pnpm
# Install dependencies (use frozen-lockfile if lock exists, otherwise generate)
RUN pnpm install
# Copy the rest of the frontend source
COPY mta-sign-ui/ ./
RUN pnpm install
# Build the static export (outputs to 'out' directory)
RUN pnpm build
# Stage 2: Python backend with frontend static files
FROM ghcr.io/astral-sh/uv:python3.13-bookworm
LABEL authors="lucasoskorep"
WORKDIR /app
# Copy dependency files and install dependencies only (not the project itself)
COPY pyproject.toml uv.lock README.md ./
RUN uv sync --frozen --no-dev --no-install-project
# Copy source code
COPY mta_api_client ./mta_api_client
COPY mta_sign_server ./mta_sign_server
COPY main.py stops.txt ./
# Copy the built frontend from the first stage
COPY --from=frontend-builder /build/mta-sign-ui/out ./static
# Now install the project
RUN uv sync --frozen --no-dev
EXPOSE 8000

View File

@@ -65,9 +65,9 @@ build-ui:
# Build multi-arch container image
containers:
podman build --platform linux/arm64,linux/amd64 -f Dockerfile --manifest chaos2theory/pi-mta-sign:test .
podman build --platform linux/arm64,linux/amd64 -f docker/Dockerfile --manifest chaos2theory/pi-mta-sign:test .
podman manifest push --all chaos2theory/pi-mta-sign:test
podman manifest rm chaos2theory/pi-mta-sign:testpod
podman manifest rm chaos2theory/pi-mta-sign:test
# Build container image (local arch only)
build-container:

1
mta-sign-ui/.nvmrc Normal file
View File

@@ -0,0 +1 @@
24

View File

@@ -1,6 +1,6 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />
import "./.next/types/routes.d.ts";
import "./.next/dev/types/routes.d.ts";
// NOTE: This file should not be edited
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.

View File

@@ -22,7 +22,7 @@
"postcss": "^8.5.1",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"tailwindcss": "^3.4.17"
"tailwindcss": "^4.0.0"
},
"devDependencies": {
"@testing-library/react": "^16.1.0",
@@ -37,5 +37,5 @@
"typescript": "^5.7.3",
"vitest": "^4.0.0"
},
"packageManager": "pnpm@10.29.2"
"packageManager": "pnpm@10.28.2"
}

File diff suppressed because it is too large Load Diff

View File

@@ -13,7 +13,7 @@
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "bundler",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "react-jsx",

View File

@@ -1,9 +1,3 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"packageRules": [
{
"matchPackageNames": ["tailwindcss"],
"allowedVersions": "<4.0.0"
}
]
"$schema": "https://docs.renovatebot.com/renovate-schema.json"
}