|
|
@ -60,11 +60,12 @@ RUN apk -U upgrade \ |
|
|
|
&& cd /mastodon \ |
|
|
|
&& rm -rf /tmp/* /var/cache/apk/* |
|
|
|
|
|
|
|
COPY Gemfile Gemfile.lock package.json yarn.lock /mastodon/ |
|
|
|
COPY Gemfile Gemfile.lock package.json yarn.lock .yarnclean /mastodon/ |
|
|
|
|
|
|
|
RUN bundle config build.nokogiri --with-iconv-lib=/usr/local/lib --with-iconv-include=/usr/local/include \ |
|
|
|
&& bundle install -j$(getconf _NPROCESSORS_ONLN) --deployment --without test development \ |
|
|
|
&& yarn --pure-lockfile |
|
|
|
&& yarn --pure-lockfile \ |
|
|
|
&& yarn cache clean |
|
|
|
|
|
|
|
COPY . /mastodon |
|
|
|
|
|
|
|