Skip to content

Commit d05311c

Browse files
committed
Dockerfile: run yarn install as metacpan-web
1 parent 662689b commit d05311c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ RUN curl -sL https://deb.nodesource.com/setup_18.x | bash \
1515
COPY . /metacpan-web/
1616
WORKDIR /metacpan-web
1717

18-
RUN yarn install --verbose && yarn cache clean
19-
2018
RUN cpanm --notest App::cpm \
2119
&& cpm install -g Carton \
2220
&& useradd -m metacpan-web -g users \
@@ -27,6 +25,8 @@ RUN chown -R metacpan-web:users /metacpan-web
2725

2826
USER metacpan-web:users
2927

28+
RUN yarn install --verbose && yarn cache clean
29+
3030
EXPOSE 5001
3131

3232
# Runs "/usr/bin/dumb-init -- /my/script --with --args"

0 commit comments

Comments
 (0)