woodpecker/docker/Dockerfile.server.alpine

16 lines
443 B
Docker
Raw Normal View History

# docker build --rm -f docker/Dockerfile.server.alpine -t woodpeckerci/woodpecker-server .
2017-09-28 02:01:52 +00:00
FROM alpine:3.14
RUN apk add -U --no-cache ca-certificates
2017-09-28 02:01:52 +00:00
EXPOSE 8000 9000 80 443
2017-09-28 02:01:52 +00:00
ENV GODEBUG=netdns=go
ENV WOODPECKER_DATABASE_DATASOURCE=/var/lib/woodpecker/woodpecker.sqlite
ENV WOODPECKER_DATABASE_DRIVER=sqlite3
ENV XDG_CACHE_HOME=/var/lib/woodpecker
2017-09-28 02:01:52 +00:00
2021-10-04 19:45:01 +00:00
ADD dist/server/linux_amd64/woodpecker-server /bin/
2017-09-28 02:01:52 +00:00
ENTRYPOINT ["/bin/woodpecker-server"]