mirror of
https://git.cloudron.io/cloudron/mastodon-app.git
synced 2025-01-03 19:28:41 +00:00
Node 18 is required, so use baseimage one
This commit is contained in:
parent
df642cbf43
commit
9db46d6653
1 changed files with 0 additions and 5 deletions
|
@ -3,11 +3,6 @@ FROM cloudron/base:4.2.0@sha256:46da2fffb36353ef714f97ae8e962bd2c212ca091108d768
|
|||
RUN mkdir -p /app/code /app/pkg
|
||||
WORKDIR /app/code
|
||||
|
||||
ARG NODE_VERSION=16.18.1
|
||||
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
|
||||
|
||||
RUN apt-get update && \
|
||||
apt install -y imagemagick ffmpeg libpq-dev libxml2-dev libxslt1-dev file git-core \
|
||||
g++ libprotobuf-dev protobuf-compiler pkg-config nodejs gcc autoconf \
|
||||
|
|
Loading…
Reference in a new issue