mirror of
https://git.cloudron.io/cloudron/mastodon-app.git
synced 2024-11-26 01:31:00 +00:00
Update mastodon to 3.0.1
This commit is contained in:
parent
1ad3a8620a
commit
70259254a7
1 changed files with 2 additions and 1 deletions
|
@ -3,6 +3,8 @@ FROM cloudron/base:1.0.0@sha256:147a648a068a2e746644746bbfb42eb7a50d682437cead3c
|
||||||
RUN mkdir -p /app/code
|
RUN mkdir -p /app/code
|
||||||
WORKDIR /app/code
|
WORKDIR /app/code
|
||||||
|
|
||||||
|
ARG VERSION=3.0.1
|
||||||
|
|
||||||
RUN apt-key adv --fetch-keys http://dl.yarnpkg.com/debian/pubkey.gpg && \
|
RUN apt-key adv --fetch-keys http://dl.yarnpkg.com/debian/pubkey.gpg && \
|
||||||
echo "deb http://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list && \
|
echo "deb http://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list && \
|
||||||
apt-get update && \
|
apt-get update && \
|
||||||
|
@ -16,7 +18,6 @@ ENV PATH /usr/local/node-10.15.3/bin:$PATH
|
||||||
|
|
||||||
RUN gem install --no-document bundler -v 1.17.3
|
RUN gem install --no-document bundler -v 1.17.3
|
||||||
|
|
||||||
ARG VERSION=2.9.2
|
|
||||||
ENV RAILS_ENV production
|
ENV RAILS_ENV production
|
||||||
ENV NODE_ENV production
|
ENV NODE_ENV production
|
||||||
RUN curl -L https://github.com/tootsuite/mastodon/archive/v${VERSION}.tar.gz | tar -xz --strip-components 1 -f - && \
|
RUN curl -L https://github.com/tootsuite/mastodon/archive/v${VERSION}.tar.gz | tar -xz --strip-components 1 -f - && \
|
||||||
|
|
Loading…
Reference in a new issue