chore: update docker-entrypoint.sh

This commit is contained in:
chenos 2023-08-02 11:25:11 +08:00
parent 6ae22cea68
commit c33c32566c
3 changed files with 2 additions and 3 deletions

View File

@ -9,7 +9,6 @@ RUN cd /app \
&& yarn install --production && yarn install --production
RUN cd /app \ RUN cd /app \
&& rm -rf my-nocobase-app/packages/app/client/src/.umi \
&& rm -rf nocobase.tar.gz \ && rm -rf nocobase.tar.gz \
&& tar -zcf ./nocobase.tar.gz -C /app/my-nocobase-app . && tar -zcf ./nocobase.tar.gz -C /app/my-nocobase-app .

View File

@ -11,7 +11,7 @@ fi
if [ ! -f "/app/nocobase/package.json" ]; then if [ ! -f "/app/nocobase/package.json" ]; then
echo 'copying...' echo 'copying...'
tar -zxf /app/nocobase.tar.gz --absolute-names -C /app/nocobase tar -zxf /app/nocobase.tar.gz --absolute-names -C /app/nocobase
touch /app/nocobase/packages/app/client/dist/index.html touch /app/nocobase/node_modules/@nocobase/app/dist/client/index.html
fi fi
cd /app/nocobase && yarn start --quickstart cd /app/nocobase && yarn start --quickstart

View File

@ -1,4 +1,4 @@
## v0.12: New plugin build tool # v0.12: New plugin build tool
## New Features ## New Features