aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile.cgit
blob: 35c8d13367811cf451c0f31fe19f21afead73851 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# This Dockerfile sets up a CGit server using an Alpine Linux base image. It configures CGit with custom settings and serves the repositories from a specified directory.

# Start with a base Alpine image that has CGit installed
FROM joseluisq/alpine-cgit:2.9.0

ENV USE_CUSTOM_CONFIG="true"

# Copy the custom cgit configuration file into the container
COPY cgitrc /etc/cgitrc

# Copy the root readme file into the container
COPY root-readme.html /root-readme.html

# Copy the header file into the container
COPY header.html /header.html

# Copy the CSS file into the container
COPY cgit.css /cgit.css