mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2025-12-12 07:52:40 +01:00
12
gitweb/Dockerfile
Normal file
12
gitweb/Dockerfile
Normal file
@@ -0,0 +1,12 @@
|
||||
FROM nginx:latest
|
||||
|
||||
RUN apt-get update && apt-get install -y \
|
||||
fcgiwrap \
|
||||
gitweb \
|
||||
--no-install-recommends \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& mv /usr/share/gitweb /var/www/
|
||||
|
||||
COPY nginx /etc/nginx
|
||||
|
||||
CMD service fcgiwrap start && nginx -g "daemon off;"
|
||||
Reference in New Issue
Block a user