在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:docker-node.js开源软件地址:https://gitee.com/freax/docker-node.js开源软件介绍:Docker-node.jsFeatures
Software Stack
How to use it?
Requirements
Getting startedgit clone https://github.com/huangyanxiong01/docker-node.js.gitcd docker-node.jsyarn installdocker-compose up -d Now,you can open http://127.0.0.1:3000/ in browser Try edit the app.jsctx.body = `Hello World`; //in koa2 middleware
ConfigureYou can find the custom $software configuration file in DataYou can find the $software data file in TODO
Change LogOtherdocker pull huangyanxiong2012/docker-node.js Note
FROM ubuntu:16.04COPY ./sources.list /etc/apt/sources.list MIT LicenseCopyright (c) 2016 Freax Permission is hereby granted, free of charge, to any person obtaining a copyof this software and associated documentation files (the "Software"), to dealin the Software without restriction, including without limitation the rightsto use, copy, modify, merge, publish, distribute, sublicense, and/or sellcopies of the Software, and to permit persons to whom the Software isfurnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in allcopies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS ORIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THEAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHERLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THESOFTWARE. |
请发表评论