13 lines
282 B
Text
13 lines
282 B
Text
FROM alpine:3.6
|
|
EXPOSE 8000 9000 80 443
|
|
|
|
RUN apk add -U --no-cache ca-certificates
|
|
|
|
ENV DATABASE_DRIVER=sqlite3
|
|
ENV DATABASE_CONFIG=/var/lib/drone/drone.sqlite
|
|
ENV GODEBUG=netdns=go
|
|
ENV XDG_CACHE_HOME /var/lib/drone
|
|
|
|
ADD release/drone-server /bin/
|
|
|
|
ENTRYPOINT ["/bin/drone-server"]
|