26 lines
438 B
Cheetah
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" ]
|