This commit is contained in:
parent
6acd8bb634
commit
368e97c6bb
@ -1,9 +1,9 @@
|
|||||||
FROM registry.odit.services/hub/library/node:19.9.0-alpine3.16 AS build
|
FROM registry.odit.services/hub/library/node:23.10.0-alpine3.21 AS build
|
||||||
ARG NPM_REGISTRY_URL=registry.npmjs.org
|
# ARG NPM_REGISTRY_URL=registry.npmjs.org
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
COPY package.json *.config.cjs *.config.js *.config.ts tsconfig.json .npmrc ./
|
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
|
RUN pnpm i
|
||||||
|
|
||||||
COPY src ./src
|
COPY src ./src
|
||||||
@ -11,5 +11,5 @@ COPY static ./static
|
|||||||
RUN pnpm build
|
RUN pnpm build
|
||||||
|
|
||||||
# final image
|
# 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
|
COPY --from=build /app/build /usr/share/nginx/html
|
@ -68,11 +68,11 @@
|
|||||||
"git": {
|
"git": {
|
||||||
"commit": true,
|
"commit": true,
|
||||||
"requireCleanWorkingDir": false,
|
"requireCleanWorkingDir": false,
|
||||||
"commitMessage": "🚀Bumped version to ${version}",
|
"commitMessage": "chore(release): ${version}",
|
||||||
"requireBranch": "main",
|
"requireBranch": "main",
|
||||||
"push": true,
|
"push": true,
|
||||||
"tag": true,
|
"tag": true,
|
||||||
"tagName": null,
|
"tagName": "${version}",
|
||||||
"tagAnnotation": "${version}"
|
"tagAnnotation": "${version}"
|
||||||
},
|
},
|
||||||
"npm": {
|
"npm": {
|
||||||
|
@ -1,11 +1,10 @@
|
|||||||
<script>
|
<script>
|
||||||
import { OpenAPI } from '@odit/lfk-client-js';
|
import { OpenAPI } from '@odit/lfk-client-js';
|
||||||
import { env } from '$env/dynamic/public';
|
|
||||||
import '../app.postcss';
|
import '../app.postcss';
|
||||||
import '@fontsource/athiti';
|
import '@fontsource/athiti';
|
||||||
import { onMount } from 'svelte';
|
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(() => {
|
onMount(() => {
|
||||||
window.addEventListener('keydown', (e) => {
|
window.addEventListener('keydown', (e) => {
|
||||||
// F1
|
// F1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user