diff --git a/src/Dockerfile b/src/Dockerfile new file mode 100644 index 0000000..b9b5899 --- /dev/null +++ b/src/Dockerfile @@ -0,0 +1,15 @@ +# 使用Node.js作为基础镜像 +FROM node:latest + +# 设置工作目录 +WORKDIR /app + +# 将应用的源代码复制到工作目录 +COPY . /app + +# 暴露应用使用的端口 +EXPOSE 3000 8080 + +# 启动应用 +# 服务端 +CMD nohup sh -c 'npm run prod && npm run serve' \ No newline at end of file diff --git a/src/components/ChatApp.vue b/src/components/ChatApp.vue index d59bb38..2604186 100644 --- a/src/components/ChatApp.vue +++ b/src/components/ChatApp.vue @@ -364,9 +364,9 @@ about:{ version:"v1.0", license:"MIT", - author:"cleverqin", - email:"705597001@qq.com", - github:"https://github.com/cleverqin/node-websocket-Chatroom" + author:"alis-robin", + email:"issmallcc@gmail.com", + github:"http://121.36.12.162:10086/alis-lc/alis-chat.git" }, loginUser:{}, token:"",