build in prod i guess

This commit is contained in:
MapleLeaf
2022-01-03 05:39:44 -06:00
parent 909d6b55cb
commit c99842ff68
3 changed files with 41 additions and 5 deletions

View File

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