tempsrc hinzugefügt, um neue Sources auf bestehende Volumes zu fixen.
All checks were successful
release-tag / release-image (push) Successful in 2m13s

This commit is contained in:
2025-07-23 23:10:13 +02:00
parent 73ea4b4040
commit 4ad790de64
2 changed files with 3 additions and 1 deletions

View File

@@ -14,8 +14,10 @@ FROM alpine:3.20
# HTTPS-Callouts in Alpine brauchen ca-certificates
RUN apk add --no-cache ca-certificates
RUN mkdir /data
RUN mkdir /tempsrc
COPY --from=builder /bin/sctradingtool /bin/sctradingtool
COPY ./static /data/static
COPY ./static /tempsrc/static
# Default listens on :8080 siehe main.go
EXPOSE 8080

View File

@@ -412,7 +412,6 @@ const htmlTemplate = `
<meta charset="UTF-8">
<title>Abgabe-Berechnung</title>
<link href="/static/css/bootstrap.min.css" rel="stylesheet">
<script src="/static/js/bootstrap.bundle.min.js"></script>
</head>
<body class="bg-light">
<div class="container mt-5">
@@ -637,6 +636,7 @@ const htmlTemplate = `
</form>
{{end}}
</div>
<script src="/static/js/bootstrap.bundle.min.js"></script>
</body>
</html>
`