Dockerfile: bring node back into the image
ci/woodpecker/push/woodpecker Pipeline was successful Details

Ariadne Conill 2024-02-02 19:55:01 -08:00
parent 4467b3ff37
commit 0e9a550144
1 changed files with 4 additions and 0 deletions

View File

@ -244,6 +244,10 @@ COPY --from=precompiler /opt/mastodon/public/assets /opt/mastodon/public/assets
# Copy bundler components to layer
COPY --from=bundler /usr/local/bundle/ /usr/local/bundle/
# Copy node into final layer
COPY --from=node /usr/local/bin /usr/local/bin
COPY --from=node /usr/local/lib /usr/local/lib
# Precompile bootsnap code for faster Rails startup
bundle exec bootsnap precompile --gemfile app/ lib/;