aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorJose Quintana <[email protected]>2021-03-16 09:14:24 +0100
committerJose Quintana <[email protected]>2021-03-16 09:14:24 +0100
commitd5b7d91a17ac26f8ec3781c1faacc61cc785c21c (patch)
tree16b039834a31c30623de959f3f5bb86071e4ba91 /Dockerfile
parentf3f40641fa5a91adf8527741928b15e6b1191e5f (diff)
downloadalpine-cgit-d5b7d91a17ac26f8ec3781c1faacc61cc785c21c.tar.xz
alpine-cgit-d5b7d91a17ac26f8ec3781c1faacc61cc785c21c.zip
refactor: prod server adjustments
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Dockerfile b/Dockerfile
index 1ef8e06..c5657dd 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -19,7 +19,6 @@ RUN set -eux \
cgit=${CGIT_VERSION} \
fcgiwrap \
git \
- highlight \
lua5.3-libs \
py3-markdown \
py3-pygments \
@@ -32,8 +31,9 @@ RUN set -eux \
&& rm -rf /tmp/* \
&& true
-COPY conf/cgit.conf /tmp/cgitrc.tmpl
-COPY conf/default.conf /etc/nginx/conf.d/default.conf
+COPY cgit/cgit.conf /tmp/cgitrc.tmpl
+COPY nginx/nginx.conf /etc/nginx/nginx.conf
+COPY nginx/conf.d/default.conf /etc/nginx/conf.d/default.conf
VOLUME [ "/srv/git", "/var/cache/cgit" ]
@@ -51,5 +51,5 @@ LABEL org.opencontainers.image.vendor="Jose Quintana" \
org.opencontainers.image.url="https://github.com/joseluisq/alpine-cgit" \
org.opencontainers.image.title="cgit" \
org.opencontainers.image.description="A fast web interface for git." \
- org.opencontainers.image.version="${SERVER_VERSION}" \
+ org.opencontainers.image.version="${CGIT_VERSION}" \
org.opencontainers.image.documentation="https://github.com/joseluisq/alpine-cgit"