Skip to content

Commit 3df285d

Browse files
committed
file formatting
1 parent eb9bd66 commit 3df285d

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ LABEL email="[email protected]"
55

66
RUN apt-get -qq update && \
77
apt-get -qy install gettext-base \
8-
fcgiwrap git cgit highlight \
9-
ca-certificates nginx gettext-base \
10-
markdown python3-markdown python3-docutils groff && \
8+
fcgiwrap git cgit highlight \
9+
ca-certificates nginx gettext-base \
10+
markdown python3-markdown python3-docutils groff && \
1111
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
1212

1313
RUN useradd nginx

docker-compose.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
test_srv:
2+
container_name: nginx-cgit-test
23
image: emarcs/nginx-cgit
34
ports:
45
- 8181:80
56
volumes:
67
- /srv/git:/srv/git
78
# for a custom nginx configuration
8-
- ./default.conf:/etc/nginx/sites-available/default
9+
- ${PWD}/default.conf:/etc/nginx/sites-available/default
910
environment:
1011
CGIT_TITLE: 'My awesome git repos'
1112
CGIT_DESC: 'Presented by Cgit on Docker'

0 commit comments

Comments
 (0)