Tag: koa

Node.js Koa应用程序和CouchDB在单个容器中

我有一个koa.js应用程序,我想在泊坞窗容器中运行。 这个应用程序需要couchdb运行,​​我想在同一个容器中运输。 我知道这不是最佳做法,但确实是我的用户开始使用的最佳方式。 Dockerfile: # DOCKER-VERSION 1.2.0 FROM centos:centos6 # Enable EPEL for CouchDB and Node.js RUN yum -y update; yum clean all RUN yum -y install epel-release; yum clean all RUN yum -y install tar # Install Node.js and CouchDB RUN yum -y install couchdb; yum clean all RUN service couchdb start RUN yum […]