mirror of
https://git.cloudron.io/cloudron/mastodon-app.git
synced 2024-12-01 04:30:58 +00:00
We actually need node 20
This commit is contained in:
parent
9db46d6653
commit
abfdacba4f
1 changed files with 5 additions and 1 deletions
|
@ -22,9 +22,13 @@ RUN mkdir -p "$(rbenv root)"/plugins/ruby-build && curl -LSs "https://github.com
|
||||||
ARG RUBY_VERSION=3.2.3
|
ARG RUBY_VERSION=3.2.3
|
||||||
RUN rbenv install ${RUBY_VERSION}
|
RUN rbenv install ${RUBY_VERSION}
|
||||||
ENV PATH ${RBENV_ROOT}/versions/${RUBY_VERSION}/bin:$PATH
|
ENV PATH ${RBENV_ROOT}/versions/${RUBY_VERSION}/bin:$PATH
|
||||||
|
|
||||||
RUN gem install --no-document bundler
|
RUN gem install --no-document bundler
|
||||||
|
|
||||||
|
ARG NODE_VERSION=20.18.0
|
||||||
|
RUN mkdir -p /usr/local/node-${NODE_VERSION} && \
|
||||||
|
curl -L https://nodejs.org/dist/v${NODE_VERSION}/node-v${NODE_VERSION}-linux-x64.tar.gz | tar zxf - --strip-components 1 -C /usr/local/node-${NODE_VERSION}
|
||||||
|
ENV PATH /usr/local/node-${NODE_VERSION}/bin:$PATH
|
||||||
|
|
||||||
ENV RAILS_ENV production
|
ENV RAILS_ENV production
|
||||||
ENV NODE_ENV production
|
ENV NODE_ENV production
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue