File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Filter options
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ Then you need to run metacpan-web:
152
152
--detach \
153
153
--publish 5001:5001 \
154
154
--link=cpan-api:cpan-api \
155
- --volume=$(pwd)/configs/metacpan-web/metacpan_web.conf:/root/ metacpan-web/metacpan_web.conf \
155
+ --volume=$(pwd)/configs/metacpan-web/metacpan_web.conf:/metacpan-web/metacpan_web.conf \
156
156
--name metacpan-web \
157
157
metacpan-web
158
158
Original file line number Diff line number Diff line change @@ -24,9 +24,9 @@ RUN curl -L http://cpanmin.us | perl - App::cpanminus
24
24
25
25
RUN cpanm Carton
26
26
27
- RUN git clone https://github.com/CPAN-API/metacpan-web.git /root/ metacpan-web/
27
+ RUN git clone https://github.com/CPAN-API/metacpan-web.git /metacpan-web/
28
28
29
- WORKDIR /root/ metacpan-web/
29
+ WORKDIR /metacpan-web/
30
30
31
31
RUN carton install
32
32
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ file from your docker host system like this (Here is the link to the [basic conf
22
22
23
23
docker run \
24
24
--publish 8000:5001 \
25
- --volume /absolute/path/to/metacpan_web.conf:/root /metacpan_web.conf \
25
+ --volume /absolute/path/to/metacpan_web.conf:/metacpan_web /metacpan_web.conf \
26
26
--detach \
27
27
metacpan-web
28
28
You can’t perform that action at this time.
0 commit comments