1 Star 0 Fork 134

itbooks / Qwerty-Learner

forked from Kai / Qwerty-Learner 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Dockerfile 549 Bytes
一键复制 编辑 原始数据 按行查看 历史
rye catcher 提交于 2022-04-21 17:08 . Dev ql (#212)
# 运行下面的命令, 构建qwerty-learner镜像
# docker build -t qwertylearner .
# 下面的命令运行镜像, 访问localhost:8990访问应用, 8990可修改成你未占有的端口
# docker run -d -p 8990:3000 --name qwertylearnerapp qwertylearner:latest
FROM node:14
MAINTAINER sevenyoungairye<lel.ng.top@gmail.com>
WORKDIR /app/qwerty-learner
COPY package*.json .
COPY yarn.lock .
RUN npm config set registry https://registry.npm.taobao.org
RUN npm install yarn -g --force
RUN yarn install
COPY . .
EXPOSE 3000
CMD yarn start
TypeScript
1
https://gitee.com/caibinghong/qwerty-learner.git
git@gitee.com:caibinghong/qwerty-learner.git
caibinghong
qwerty-learner
Qwerty-Learner
master

搜索帮助