7 Star 109 Fork 46

千里码工作室 / SpeechToText

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Dockerfile 627 Bytes
一键复制 编辑 原始数据 按行查看 历史
yzd 提交于 2021-07-21 10:41 . feat(init): socket
FROM node:alpine
MAINTAINER anyesu
# 拷贝项目
COPY . /usr/anyesu/node
RUN echo -e "https://mirror.tuna.tsinghua.edu.cn/alpine/v3.4/main\n\
https://mirror.tuna.tsinghua.edu.cn/alpine/v3.4/community" > /etc/apk/repositories && \
# 设置时区
apk --update add ca-certificates && \
apk add tzdata && \
ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && \
echo "Asia/Shanghai" > /etc/timezone && \
# 安装ws模块
npm install ws@1.1.0 express -g
# 设置环境变量
ENV NODE_PATH /usr/local/lib/node_modules
# 启动命令(前台程序)
CMD ["node", "/usr/anyesu/node/server.js"]
Java
1
https://gitee.com/yzd_org/speechToText.git
git@gitee.com:yzd_org/speechToText.git
yzd_org
speechToText
SpeechToText
master

搜索帮助