summaryrefslogtreecommitdiff
path: root/cgit/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'cgit/Dockerfile')
-rw-r--r--cgit/Dockerfile7
1 files changed, 5 insertions, 2 deletions
diff --git a/cgit/Dockerfile b/cgit/Dockerfile
index 27c3910..4bf5187 100644
--- a/cgit/Dockerfile
+++ b/cgit/Dockerfile
@@ -1,6 +1,9 @@
FROM gliderlabs/alpine:3.2
-# Add cgit and nginx config files
RUN apk --update add git
RUN apk --update add nginx
RUN apk --update add cgit
-ENTRYPOINT ["mysql"] \ No newline at end of file
+# TODO: make sure these paths are right
+COPY nginx.conf /etc/nginx/nginx.conf
+COPY cgit.conf /etc/nginx/sites-enabled/cgit.conf
+COPY cgitrc /etc/cgitrc
+ENTRYPOINT ["nginx", "-g", "daemon off;"]