diff --git a/Dockerfile b/Dockerfile index 4b6c81f..80dda7d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/main.go b/main.go index d158d76..b6311d2 100644 --- a/main.go +++ b/main.go @@ -412,7 +412,6 @@ const htmlTemplate = ` Abgabe-Berechnung -
@@ -637,6 +636,7 @@ const htmlTemplate = ` {{end}}
+ `