Skip to content

Commit ec09b73

Browse files
committed
yarn is okay as is with newer node
1 parent d510fc7 commit ec09b73

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

mpcontribs-portal/Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@ FROM node AS webpack-deps
66
RUN apt-get update && apt-get install -y --no-install-recommends \
77
git curl gnupg ca-certificates apt-transport-https \
88
&& apt-get clean
9-
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
10-
RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list
11-
RUN apt-get update && apt-get install -y --no-install-recommends yarn
9+
RUN npm install -g yarn
1210
ENV NODE_ENV production
1311
WORKDIR /app
1412
COPY package.json .

0 commit comments

Comments
 (0)