Update Dockerfile
This commit is contained in:
parent
60bbfbb391
commit
1677d60b51
|
|
@ -13,7 +13,7 @@ RUN USER=`sed -n '4,4p' /etc/mysql/debian.cnf | awk 'BEGIN { FS = "= " } ; { pr
|
|||
&& sed -i "s/test/${USER}/" /app/src/config/adapter.js \
|
||||
&& PASSWORD=`sed -n '5,5p' /etc/mysql/debian.cnf | awk 'BEGIN { FS = "= " } ; { print $2 }'` \
|
||||
&& sed -i "s/123456/${PASSWORD}/g" /app/src/config/adapter.js \
|
||||
&& npm install --production --registry=https://registry.npm.taobao.org \
|
||||
&& npm install --production \
|
||||
&& touch /usr/local/bin/start.sh \
|
||||
&& chmod 777 /usr/local/bin/start.sh \
|
||||
&& echo "#!/bin/bash" >> /usr/local/bin/start.sh \
|
||||
|
|
|
|||
Loading…
Reference in New Issue