Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
14795e1831
|
|||
|
c48a1f855f
|
@@ -8,8 +8,9 @@ RUN go mod download
|
||||
COPY . .
|
||||
RUN CGO_ENABLED=0 GOOS=linux go build -o server
|
||||
|
||||
FROM scratch
|
||||
FROM alpine:3.18
|
||||
RUN mkdir -p /tmp && chmod 1777 /tmp
|
||||
|
||||
COPY --from=builder /app/server /server
|
||||
COPY static /static
|
||||
ADD https://curl.haxx.se/ca/cacert.pem /etc/ssl/certs/ca-certificates.crt
|
||||
ENTRYPOINT [ "/server" ]
|
||||
@@ -54,7 +54,7 @@
|
||||
<p>{{ .Runner.LastName }}, {{ .Runner.FirstName }} {{ .Runner.MiddleName }}</p>
|
||||
<p>{{ if ne .Runner.Group.ParentGroup.Name "" -}}{{ .Runner.Group.ParentGroup.Name }}/{{end -}}{{ .Runner.Group.Name }}</p>
|
||||
{{ else }}
|
||||
<p>Kein Läufer zugewiesen</p>
|
||||
<p>Läufer:in</p>
|
||||
{{ end}}
|
||||
{{ end}}
|
||||
</div>
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
<p>{{ .Runner.LastName }}, {{ .Runner.FirstName }} {{ .Runner.MiddleName }}</p>
|
||||
<p>{{ if ne .Runner.Group.ParentGroup.Name "" -}}{{ .Runner.Group.ParentGroup.Name }}/{{end -}}{{ .Runner.Group.Name }}</p>
|
||||
{{ else }}
|
||||
<p>Blank card</p>
|
||||
<p>Runner</p>
|
||||
{{ end}}
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
Reference in New Issue
Block a user