run build in dockerfile

This commit is contained in:
MapleLeaf
2022-01-09 03:14:59 -06:00
parent 0a89521a36
commit 2462870a57
3 changed files with 19 additions and 16 deletions

View File

@@ -6,6 +6,8 @@ COPY / ./
RUN ls -R
RUN npm install -g pnpm
RUN pnpm install --unsafe-perm --frozen-lockfile
RUN pnpm build -C packages/docs
RUN pnpm install --prod --unsafe-perm --frozen-lockfile
CMD [ "pnpm", "-C", "packages/docs", "start" ]
CMD [ "pnpm", "start", "-C", "packages/docs" ]