gouick/templates/go-swagger/Dockerfile.tmpl
Matthieu 'JP' DERASSE ac7df8be2d
All checks were successful
continuous-integration/drone/push Build is passing
feat(template): Refactor template standard variable and implement dockerfile
2022-09-29 20:05:53 +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" ]