From d5b7d91a17ac26f8ec3781c1faacc61cc785c21c Mon Sep 17 00:00:00 2001 From: Jose Quintana Date: Tue, 16 Mar 2021 09:14:24 +0100 Subject: refactor: prod server adjustments --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Dockerfile') 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" -- cgit v1.2.3