gouick/templates/go-swagger/custom/Dockerfile.tmpl
Matthieu 'JP' DERASSE 65add2a61d
Some checks failed
continuous-integration/drone/push Build is failing
feat(go-swagger): Refactoring to use go-swagger templating system for most of the work
2023-01-01 17:06:47 +00:00

26 lines
438 B
Cheetah

# Code generated by gouick; DO NOT EDIT.
FROM alpine
LABEL maintainer="{{.Config.ProjectContact.Name}} <{{.Config.ProjectContact.Email}}>"
RUN apk add --no-cache ca-certificates
USER nobody
COPY launcher.sh \
{{- range .APIs }}
{{.Binary}} \
{{- end }}
{{- range .Crons }}
{{.Binary}} \
{{- end }}
{{- range .Workers }}
{{.Binary}} \
{{- end }}
/app/
# expose port 8080
EXPOSE 8080
CMD [ "/app/launcher.sh" ]