diff --git a/dockerfile b/dockerfile index 2dcb1a6f..83713b52 100644 --- a/dockerfile +++ b/dockerfile @@ -1,12 +1,13 @@ FROM node:16-alpine as builder WORKDIR /app COPY . . -RUN apk add git make gcc g++ alpine-sdk python3 py3-pip python2 +RUN apk add git make gcc g++ alpine-sdk python3 py3-pip python2 unzip RUN git clone https://github.com/mx-space/assets.git --depth=1 RUN rm -rf assets/.git RUN npm i -g pnpm RUN pnpm install RUN pnpm bundle +RUN node scripts/download-latest-admin-assets.js FROM node:16-alpine RUN apk add zip unzip mongodb-tools bash --no-cache