summaryrefslogtreecommitdiffstats
path: root/docs/Dockerfile
diff options
context:
space:
mode:
authorThomas Boerger <thomas@webhippie.de>2018-07-11 16:43:33 +0200
committerJonas Franz <info@jonasfranz.software>2018-07-11 16:43:33 +0200
commitd84490a0df308f0783637e39bf5302128f9f8584 (patch)
treeeb49f2408e4b0648567844a57872ed6f975af089 /docs/Dockerfile
parentc2ec38f9b70157ae08867190b2d2b23efd1d4cb0 (diff)
downloadgitea-d84490a0df308f0783637e39bf5302128f9f8584.tar.gz
gitea-d84490a0df308f0783637e39bf5302128f9f8584.zip
Replaced docker docs with netlify deployment (#4420)
Diffstat (limited to 'docs/Dockerfile')
-rw-r--r--docs/Dockerfile22
1 files changed, 0 insertions, 22 deletions
diff --git a/docs/Dockerfile b/docs/Dockerfile
deleted file mode 100644
index c69a9214e4..0000000000
--- a/docs/Dockerfile
+++ /dev/null
@@ -1,22 +0,0 @@
-# build stage
-FROM golang:alpine AS build-env
-
-RUN apk add --no-cache git
-RUN go get -d -v github.com/mholt/caddy/caddy github.com/pedronasser/caddy-search github.com/simia-tech/caddy-locale
-WORKDIR /go/src/github.com/mholt/caddy/caddy
-
-RUN sed -i '/This is where other plugins get plugged in (imported)/a _ "github.com/pedronasser/caddy-search"' caddymain/run.go \
- && sed -i '/This is where other plugins get plugged in (imported)/a _ "github.com/simia-tech/caddy-locale"' caddymain/run.go \
- && go install -v . \
- && /go/bin/caddy -version
-
-FROM alpine:edge
-EXPOSE 80
-
-RUN apk add --no-cache wget mailcap ca-certificates
-COPY --from=build-env /go/bin/caddy /usr/sbin/caddy
-
-COPY docker/caddy.conf /etc/caddy.conf
-COPY public /srv/www
-
-CMD ["/usr/sbin/caddy", "-conf", "/etc/caddy.conf"]