Skip to content

Commit

Permalink
Merge pull request #299 from jfontan/configurable-repos-in-dockerfile
Browse files Browse the repository at this point in the history
Make repo dir configurable in Dockerfile
  • Loading branch information
ajnavarro authored Jun 5, 2018
2 parents 7b2f4d6 + 6e4e892 commit fb199fb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ RUN mkdir -p /opt/repos

ENV GITBASE_USER=gitbase
ENV GITBASE_PASSWORD=""
ENV GITBASE_REPOS=/opt/repos
EXPOSE 3306

ENV TINI_VERSION v0.17.0
Expand All @@ -35,4 +36,4 @@ CMD gitbase server -v \
--port=3306 \
--user="$GITBASE_USER" \
--password="$GITBASE_PASSWORD" \
--git=/opt/repos
--git="$GITBASE_REPOS"

0 comments on commit fb199fb

Please sign in to comment.