@ -11,4 +11,4 @@ COPY . /app
EXPOSE 3000 8080
# 启动应用
ENTRYPOINT [ "sh" ,"start.sh"]
CMD [ "sh" ,"./start.sh"]
@ -2,3 +2,5 @@
nohup npm run prod >> server.log 2>&1 &
# 客户端启动
nohup npm run serve >> front.log 2>&1 &
echo '启动成功'