fix: build
Some checks failed
Build latest image / build-container (push) Has been cancelled

This commit is contained in:
Philipp Dormann 2025-04-02 22:26:52 +02:00
parent 6acd8bb634
commit 368e97c6bb
Signed by: philipp
GPG Key ID: 3BB9ADD52DCA4314
3 changed files with 7 additions and 8 deletions

View File

@ -1,9 +1,9 @@
FROM registry.odit.services/hub/library/node:19.9.0-alpine3.16 AS build
ARG NPM_REGISTRY_URL=registry.npmjs.org
FROM registry.odit.services/hub/library/node:23.10.0-alpine3.21 AS build
# ARG NPM_REGISTRY_URL=registry.npmjs.org
WORKDIR /app
COPY package.json *.config.cjs *.config.js *.config.ts tsconfig.json .npmrc ./
RUN npm config set registry $NPM_REGISTRY_URL && npm i -g pnpm@8
RUN npm i -g pnpm@10.7
RUN pnpm i
COPY src ./src
@ -11,5 +11,5 @@ COPY static ./static
RUN pnpm build
# final image
FROM registry.odit.services/library/nginx-brotli:3.15 as final
FROM registry.odit.services/library/nginx-brotli:3.15 AS final
COPY --from=build /app/build /usr/share/nginx/html

View File

@ -68,11 +68,11 @@
"git": {
"commit": true,
"requireCleanWorkingDir": false,
"commitMessage": "🚀Bumped version to ${version}",
"commitMessage": "chore(release): ${version}",
"requireBranch": "main",
"push": true,
"tag": true,
"tagName": null,
"tagName": "${version}",
"tagAnnotation": "${version}"
},
"npm": {

View File

@ -1,11 +1,10 @@
<script>
import { OpenAPI } from '@odit/lfk-client-js';
import { env } from '$env/dynamic/public';
import '../app.postcss';
import '@fontsource/athiti';
import { onMount } from 'svelte';
OpenAPI.BASE = env.PUBLIC_BASE_URL || 'https://run.lauf-fuer-kaya.de';
OpenAPI.BASE = 'https://run.lauf-fuer-kaya.de';
onMount(() => {
window.addEventListener('keydown', (e) => {
// F1