Tag: meteor

用于运行meteor应用程序的dockerfile – 使用节点:7.5.0-alpine

我正试图在docker上运行一个meteor应用程序。 这里是我的Dockerfile: From node:7.5.0-alpine RUN meteor npm install –a CMD ["meteor"] 运行: ➜ docker build . -t myapp Sending build context to Docker daemon 21.91 MB Step 1 : FROM node:7.5.0-alpine —> 0895ecd79009 Step 2 : RUN meteor npm install –a —> Running in 1de3ba593bb1 /bin/sh: meteor: not found The command '/bin/sh -c meteor npm […]

Gitlab CI:如何使用docker和shell runner在pipe道中运行testing

我需要在我的gitlab CIpipe道中运行testing。 这是我的YAML文档的样子: before_script: – docker info build: script: – docker build -t $CI_REGISTRY_IMAGE:$VERSION . – docker push $CI_REGISTRY_IMAGE:$VERSION 我正在使用shell runner。 现在我想检查正确的eslint,看起来像: eslint . 在第二步,我想用摩卡做一些unit testing meteor test –driver-package practicalmeteor:mocha 我怎样才能使用已经build立的容器/图像在pipe道中做到这一点? 我应该如何实现这个YAML文件?

如何正确closuresmeteorstream?

我正在使用一个stream,closures它后我有一个错误: events.js:141 throw er; // Unhandled 'error' event ^ Error: write after end at writeAfterEnd (_stream_writable.js:166:12) … stream是这样创build的: logStream = Object.create(null); function containerLogs(idContainer, from) { logStream[idContainer] = new stream.PassThrough(); 然后我在网上find一个closures它的方法是: logStream[data.idContainer].end('!stop!'); 但它会产生上面的错误,尽pipe它看起来像closuresstream。 我有点失落,如果有人能再次让我走上赛道,我会很感激 [编辑]这里是使用stream的function: function containerLogs(idContainer, from) { logStream[idContainer] = new stream.PassThrough(); logStream[idContainer].setEncoding('utf8'); logStream[idContainer].on('data', function(chunk){ console.log("you are receiving logs from: " + idContainer); try { […]

对dcm4chee的Docker存疑

我在NODEJS上做了一个项目来查看安装了dc4mchee的pacs的DICOM FILES,然后我find了一个我打算使用的OHIF查看器的API,但是在它的说明中它要求我安装以下 Getting Started Set up a DICOM server: Install Orthanc from scratch, or via docker Or use DCM4CHEE via docker Upload some data into your archive (eg with DCMTK's storescu or your archive's web interface) 已经安装meteor,但我的疑问是在docker? 我无法find它,下面是安装docker与dcm4chee的说明 我的问题是,我需要安装docker,如果我有dcm4chee 2.x本地? 我不明白如何在Docker中安装dcm4chee,请能解释得很好的人

在Docker中安装Meteor时,文件权限错误

我是Docker(2周)的新手,但是我正在为Meteor安装编写一个Dockerfile取得很好的进展。 现在我看到文件权限错误的最后一行。 老实说,我认为更广泛的问题是我不完全了解Linux文件系统和权限; 所以我会很感激任何指针。 这是错误的: Meteor 1.5 has been installed in your home directory (~/.meteor). Writing a launcher script to /usr/local/bin/meteor for your convenience. This may prompt for your password. sudo: no tty present and no askpass program specified Couldn't write the launcher script. Please either: (1) Run the following as root: cp "/home/.meteor/packages/meteor-tool/1.5.0/mt- os.linux.x86_64/scripts/admin/launch-meteor" […]

Meteor Up部署错误

我使用Meteor Up部署meteor应用程序。 开发应用程序在位置/ apps / proto / meteor / GatewayUI和我有.deploy文件夹是在GatewayUI文件夹内。 在给出命令“MUP部署”,我得到以下错误 { Error: spawn meteor ENOENT at exports._errnoException (util.js:1018:11) at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32) at onErrorNT (internal/child_process.js:367:16) at _combinedTickCallback (internal/process/next_tick.js:80:11) at process._tickCallback (internal/process/next_tick.js:104:9) code: 'ENOENT', errno: 'ENOENT', syscall: 'spawn meteor', path: 'meteor', spawnargs: [ 'build', '–directory', '/tmp/mup-meteor-981e8b09-055e-4ffe-a50a-d73d07c1ac5f', '–architecture', 'os.linux.x86_64', '–debug', '–mobile-settings', '/apps/proto/meteor/GatewayUI/settings.json' ] } This error usually […]

./configure:错误:HTTP gzip模块需要zlib库

我是新来的docker/容器。 我正在尝试运行一个修复程序,使用以下命令来修复mup-front的openSSL漏洞: docker build ./ 它编译到一个点,然后错误 ./configure: error: the HTTP gzip module requires the zlib library. You can either disable the module by using –without-http_gzip_module option, or install the zlib library into the system, or build the zlib library statically from the source with nginx by using –with-zlib=<path> option. 我正在运行一个如此安装zlib与酿造的Mac。 我search了很长时间,但很难find这个错误。 由于这个错误,它也无法在docker.io中build立自动化

meteor错误 – curl:(7)失败连接到本地主机:80; 拒绝连接

运行mup deploy –verbose后出现此错误 x Verifying Deployment: FAILED ———————————–STDERR———————————– 0 /bundle/bundle/programs/server/npm/node_modules/meteor/ethereum_web3/node_modules/web3 bignumber.js@2.0.7 /bundle/bundle/programs/server/npm/node_modules/meteor/ethereum_web3/node_modules/web3/node_modules/bignumber.js utf8@2.1.2 /bundle/bundle/programs/server/npm/node_modules/meteor/ethereum_web3/node_modules/utf8 xmlhttprequest@1.7.0 /bundle/bundle/programs/server/npm/node_modules/meteor/ethereum_web3/node_modules/xmlhttprequest underscore@1.8.3 /bundle/bundle/programs/server/npm/node_modules/meteor/ethereum_web3/node_modules/underscore vinyl-source-stream@1.1.0 /bundle/bundle/programs/server/npm/node_modules/meteor/ethereum_web3/node_modules/vinyl-source-stream xhr2@0.1.4 /bundle/bundle/programs/server/npm/node_modules/meteor/ethereum_web3/node_modules/xhr2 > bson@0.2.21 install /bundle/bundle/programs/server/npm/node_modules/meteor/cfs_gridfs/node_modules/mongodb/node_modules/bson > (node-gyp rebuild 2> builderror.log) || (exit 0) 标题中的错误在validation部署阶段被多次抛出 我尝试部署到端口3000,但得到了同样的错误: curl: (7) Failed connect to localhost:3000; Connection refused curl: (7) Failed connect to localhost:3000; Connection refused

Meteor-up通过远程terminal访问docker和nginx.conf(httpsredirect问题)

我需要将所有非https连接redirect到https,force-ssl给出validation部署:FAILED错误。 所以我想编辑泊坞窗内的nginx文件中的服务器设置。 不幸的是,我根本无法访问docker,因为我找不到目录。 如何远程访问Docker中的文件并编辑nginx代理设置? 或者我如何设置一个redirect到https而不使用force-ssl?

mup部署工作,但图像不会启动

我正在将我的Meteor应用程序从Windows 10机箱部署到Digital Ocean VPS。 最新版本的mup,最新版本的meteor,应用程序在Windows上运行良好,应用程序部署并运行良好,然后添加节点 – 超级NPM。 当应用程序尝试启动时,我在日志中看到以下错误: npm ERR! enoent ENOENT: no such file or directory, chmod '/bundle/bundle/programs/server/npm/node_modules/node-uber/node_modules/sshpk/bin\sshpk-conv' 显然问题是在文件名反斜杠,但不知道从哪里来,或如何解决它。 它没有在package.json中为node-uber引用。 我试过在Windows端编辑sshpk的package.json,但是这没有什么区别。 我无法编辑Docker容器中的文件,因为容器不断重新启动并将我踢出去。 任何人都有如何解决这个问题的build议,最好是永久性的,所以每次部署时我都不需要跳过这些环节。