overhauling constants, working on translations

Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
2026-01-15 13:58:50 +01:00
parent 669853352e
commit 0d1cdd35d1
103 changed files with 2161 additions and 1207 deletions

View File

@@ -1,8 +1,11 @@
FROM alpine:3.22
LABEL Maintainer "Stephan Richter <s.richter@srsoftware.de>"
ARG UID=1000
ARG GID=1000
RUN apk add bash npm
RUN adduser -Dh /home/svelte svelte
RUN set -x; addgroup -g $GID svelte
RUN adduser -u $UID -G svelte -Dh /home/svelte svelte
ADD script /opt
USER svelte
WORKDIR /home/svelte
CMD /bin/bash
CMD /bin/bash

View File

@@ -1,16 +1,18 @@
default: devel
build: image
docker run --name svelte-build \
podman run --name svelte-build \
--rm \
--userns=keep-id:uid=$$(id -u),gid=$$(id -g) \
-v ../frontend:/home/svelte/frontend \
-ti svelte /opt/svelte-build
image:
docker build -t svelte .
podman build --build-arg UID=$$(id -u) --build-arg GID=$$(id -g) -t svelte .
devel: image
-docker rm -f svelte
docker run --name svelte \
-podman rm -f svelte
podman run --name svelte \
--userns=keep-id:uid=$$(id -u),gid=$$(id -g) \
-v ../frontend:/home/svelte/frontend \
-p 5173:5173 \
-ti svelte /opt/svelte-init