mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-29 11:50:37 +00:00
b3d40024a9
Renamed `cmd/drone-agent` to `cmd/agent` and `cmd/drone-server` to `cmd/server` and binaries to get rid of the drone name.
13 lines
310 B
Docker
13 lines
310 B
Docker
# docker build --rm -t woodpeckerci/woodpecker-server .
|
|
|
|
FROM drone/ca-certs
|
|
EXPOSE 8000 9000 80 443
|
|
|
|
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/woodpecker-server /bin/
|
|
|
|
ENTRYPOINT ["/bin/woodpecker-server"]
|