woodpecker/Dockerfile
Bo-Yi Wu 21430d2ecd fix go coding style by gofmt.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-08-14 12:25:45 +08:00

13 lines
239 B
Docker

# docker build --rm -t drone/drone .
FROM centurylink/ca-certs
EXPOSE 8000
ENV DATABASE_DRIVER=sqlite3
ENV DATABASE_CONFIG=/var/lib/drone/drone.sqlite
ENV GODEBUG=netdns=go
ADD release/drone /drone
ENTRYPOINT ["/drone"]
CMD ["server"]