fix
This commit is contained in:
parent
a17ac5c976
commit
157b0e7a81
@ -3,11 +3,11 @@ ENV PG_VERSION=15
|
|||||||
ENV PG_BIN=/usr/lib/postgresql/$PG_VERSION/bin
|
ENV PG_BIN=/usr/lib/postgresql/$PG_VERSION/bin
|
||||||
ENV PG_DIR=/var/lib/postgresql/$PG_VERSION/main
|
ENV PG_DIR=/var/lib/postgresql/$PG_VERSION/main
|
||||||
RUN export TERM=xterm
|
RUN export TERM=xterm
|
||||||
RUN apt update;apt install -y bash curl openssl postgresql postgresql-contrib git python3 build-essential nginx redis unzip wget procps
|
RUN apt update;apt install -y bash curl openssl postgresql postgresql-contrib ffmpeg git python3 build-essential nginx redis unzip wget procps
|
||||||
COPY nodesource /etc/apt/preferences.d/
|
COPY nodesource /etc/apt/preferences.d/
|
||||||
RUN curl -sL https://deb.nodesource.com/setup_18.x | bash -;apt update; apt -y install nodejs yarn
|
RUN curl -sL https://deb.nodesource.com/setup_18.x | bash -;apt update; apt -y install nodejs yarn
|
||||||
WORKDIR /opt
|
WORKDIR /opt
|
||||||
RUN git clone -b develop https://github.com/misskey-dev/misskey.git --depth=1
|
RUN git clone -b master https://github.com/misskey-dev/misskey.git --depth=1
|
||||||
RUN rm -rf /etc/nginx/conf.d/*
|
RUN rm -rf /etc/nginx/conf.d/*
|
||||||
RUN rm -f /etc/nginx/sites-enabled/default
|
RUN rm -f /etc/nginx/sites-enabled/default
|
||||||
RUN rm -f /etc/nginx/sites-available/default
|
RUN rm -f /etc/nginx/sites-available/default
|
||||||
|
2
setup.sh
2
setup.sh
@ -17,7 +17,7 @@ misskey() {
|
|||||||
cd /opt/misskey
|
cd /opt/misskey
|
||||||
npm install -g pnpm vite
|
npm install -g pnpm vite
|
||||||
git submodule update --init
|
git submodule update --init
|
||||||
npm install --frozen-lockfile
|
pnpm install --frozen-lockfile
|
||||||
NODE_ENV=production pnpm run build
|
NODE_ENV=production pnpm run build
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user