chore: update docker-entrypoint.sh
This commit is contained in:
parent
6ae22cea68
commit
c33c32566c
@ -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 .
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
## v0.12: New plugin build tool
|
# v0.12: New plugin build tool
|
||||||
|
|
||||||
## New Features
|
## New Features
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user