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
|
# HTTPS-Callouts in Alpine brauchen ca-certificates
|
||||||
RUN apk add --no-cache ca-certificates
|
RUN apk add --no-cache ca-certificates
|
||||||
RUN mkdir /data
|
RUN mkdir /data
|
||||||
|
RUN mkdir /tempsrc
|
||||||
COPY --from=builder /bin/sctradingtool /bin/sctradingtool
|
COPY --from=builder /bin/sctradingtool /bin/sctradingtool
|
||||||
COPY ./static /data/static
|
COPY ./static /data/static
|
||||||
|
COPY ./static /tempsrc/static
|
||||||
|
|
||||||
# Default listens on :8080 – siehe main.go
|
# Default listens on :8080 – siehe main.go
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
2
main.go
2
main.go
@@ -412,7 +412,6 @@ const htmlTemplate = `
|
|||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<title>Abgabe-Berechnung</title>
|
<title>Abgabe-Berechnung</title>
|
||||||
<link href="/static/css/bootstrap.min.css" rel="stylesheet">
|
<link href="/static/css/bootstrap.min.css" rel="stylesheet">
|
||||||
<script src="/static/js/bootstrap.bundle.min.js"></script>
|
|
||||||
</head>
|
</head>
|
||||||
<body class="bg-light">
|
<body class="bg-light">
|
||||||
<div class="container mt-5">
|
<div class="container mt-5">
|
||||||
@@ -637,6 +636,7 @@ const htmlTemplate = `
|
|||||||
</form>
|
</form>
|
||||||
{{end}}
|
{{end}}
|
||||||
</div>
|
</div>
|
||||||
|
<script src="/static/js/bootstrap.bundle.min.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
`
|
`
|
||||||
|
Reference in New Issue
Block a user