tempsrc hinzugefügt, um neue Sources auf bestehende Volumes zu fixen.
All checks were successful
release-tag / release-image (push) Successful in 2m13s
All checks were successful
release-tag / release-image (push) Successful in 2m13s
This commit is contained in:
@@ -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
|
||||
|
2
main.go
2
main.go
@@ -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>
|
||||
`
|
||||
|
Reference in New Issue
Block a user