feat: update dockerfile

This commit is contained in:
chenos 2022-07-28 21:06:21 +08:00
parent 82cf951166
commit 4a9981bd38

View File

@ -12,7 +12,7 @@ RUN cd /app \
&& rm -rf nocobase.tar.gz \
&& find ./my-nocobase-app/node_modules/china-division/dist -name '*.csv' -delete \
&& find ./my-nocobase-app/node_modules/china-division/dist -name '*.sqlite' -delete \
&& tar -zcvf ./nocobase.tar.gz -C /app/my-nocobase-app .
&& tar -zcf ./nocobase.tar.gz -C /app/my-nocobase-app .
FROM node:16-stretch-slim