mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-22 13:05:18 +01:00
8407702b38
* wip * wip * シンボリックリンクやめた * install lib dependency * bring live2d assets from misskey-dev/assets * refactor * nanka iroiro * コミット忘れ * random motion * wip * run git submodule update --init * コミット忘れ * refactor * fix bug * Update misskey-assets * lint * lint * lint * 藍モード修正 (#7702) * lazy load live2d script * fix typo * lazy load also widget * hot link to cubism core * https://github.com/misskey-dev/misskey/pull/7702/files#r695623821 * fix lint * remove live2d stuff * use iframe * update * Update gulpfile.ts * update * Update .gitattributes * update Co-authored-by: tamaina <tamaina@hotmail.co.jp>
41 lines
648 B
Docker
41 lines
648 B
Docker
FROM node:16.6.2-alpine3.13 AS base
|
|
|
|
ENV NODE_ENV=production
|
|
|
|
WORKDIR /misskey
|
|
|
|
FROM base AS builder
|
|
|
|
RUN apk add --no-cache \
|
|
autoconf \
|
|
automake \
|
|
file \
|
|
g++ \
|
|
gcc \
|
|
libc-dev \
|
|
libtool \
|
|
make \
|
|
nasm \
|
|
pkgconfig \
|
|
python3 \
|
|
zlib-dev
|
|
|
|
RUN git submodule update --init
|
|
COPY package.json yarn.lock .yarnrc ./
|
|
RUN yarn install
|
|
COPY . ./
|
|
RUN yarn build
|
|
|
|
FROM base AS runner
|
|
|
|
RUN apk add --no-cache \
|
|
ffmpeg \
|
|
tini
|
|
|
|
ENTRYPOINT ["/sbin/tini", "--"]
|
|
|
|
COPY --from=builder /misskey/node_modules ./node_modules
|
|
COPY --from=builder /misskey/built ./built
|
|
COPY . ./
|
|
|
|
CMD ["npm", "run", "migrateandstart"]
|