fix: docker script
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user