Skip to content
Snippets Groups Projects
Verified Commit 62861d72 authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

Fixed missing files

parent 14406a13
No related branches found
No related tags found
No related merge requests found
......@@ -16,8 +16,7 @@ RUN npm install
COPY assets /app/assets
RUN npm run build
FROM alpine:3.7
WORKDIR /
FROM alpine
COPY --from=go_builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY --from=go_builder /go/src/app/app /app
COPY templates /templates
......
......@@ -29,7 +29,7 @@ func NewConfigFromEnv() Config {
}
func formatTemplate(w http.ResponseWriter, templateName string, data interface{}) error {
pageTemplate, err := template.ParseFiles(fmt.Sprintf("templates/%s", templateName))
pageTemplate, err := template.ParseFiles(fmt.Sprintf("templates/%s.html", templateName))
if err != nil {
return err
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment