1 Star 0 Fork 16

林晓飞/work_crawler

forked from kanasimi/work_crawler 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Dockerfile 1005 Bytes
一键复制 编辑 原始数据 按行查看 历史
kanasimi 提交于 2019-06-07 05:29 . using node:12
# https://hub.docker.com/r/kanasimi/work_crawler
# https://www.jinnsblog.com/2018/12/docker-dockerfile-guide.html
# https://nodejs.org/zh-cn/docs/guides/nodejs-docker-webapp/
# https://ithelp.ithome.com.tw/articles/10192519
# https://www.electron.build/multi-platform-build#docker
# https://github.com/nodejs/docker-node
# https://hub.docker.com/_/node/
# https://derickbailey.com/2017/03/09/selecting-a-node-js-image-for-docker/
FROM node:12
# FROM electronuserland/builder
# Create app directory
WORKDIR /app
# copy files
COPY work_crawler.updater.js /app
RUN ["node", "work_crawler.updater.js"]
# application's default port
EXPOSE 80
CMD ["sh", "-c", "cd work_crawler-master && sh start_gui_electron.sh"]
# docker build .
# docker image ls
# docker tag {DOCKER_IMAGE_ID} kanasimi/work_crawler:2.1.0
# docker push kanasimi/work_crawler
# docker pull kanasimi/work_crawler
# docker run -it --rm --name kanasimi/work_crawler
# Enter the container
# docker exec -it kanasimi/work_crawler /bin/bash
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/linxiaofei/work_crawler.git
[email protected]:linxiaofei/work_crawler.git
linxiaofei
work_crawler
work_crawler
master

搜索帮助