Skip to content

Commit 5528deb

Browse files
committed
use /app/ rather than per-repo root directory for docker build
1 parent 7718933 commit 5528deb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ RUN \
3636
apt-get satisfy -y -f --no-install-recommends 'libcmark-dev (>= 0.30.2)'
3737
EOT
3838

39-
WORKDIR /metacpan-web/
39+
WORKDIR /app/
4040

4141
COPY cpanfile cpanfile.snapshot ./
4242
RUN \
@@ -47,8 +47,8 @@ EOT
4747

4848
RUN mkdir var && chown metacpan:users var
4949

50-
ENV PERL5LIB="/metacpan-web/local/lib/perl5"
51-
ENV PATH="/metacpan-web/local/bin:${PATH}"
50+
ENV PERL5LIB="/app/local/lib/perl5"
51+
ENV PATH="/app/local/bin:${PATH}"
5252

5353
COPY *.md app.psgi *.conf ./
5454
COPY bin bin

0 commit comments

Comments
 (0)