4 Star 2 Fork 0

Gitee 极速下载/n1

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/nylas/nylas-mail
克隆/下载
Dockerfile 1.08 KB
一键复制 编辑 原始数据 按行查看 历史
# This Dockerfile builds a production-ready image of K2 to be used across all
# services. See the Dockerfile documentation here:
# https://docs.docker.com/engine/reference/builder/
# Use the latest Node 6 base docker image
# https://github.com/nodejs/docker-node
FROM node:6
ENV INSTALL_TARGET=cloud
# Copy everything (excluding what's in .dockerignore) into an empty dir
COPY . /home
WORKDIR /home
# This installs global dependencies, then in the postinstall script, runs lerna
# bootstrap to install and link cloud-api, cloud-core, and cloud-workers.
# We need the --unsafe-perm param to run the postinstall script since Docker
# will run everything as sudo
RUN npm install --unsafe-perm
# This uses babel to compile any es6 to stock js for plain node
RUN node packages/cloud-core/build/build-n1-cloud
# External services run on port 80. Expose it.
EXPOSE 5100
# We use a start-aws command that automatically spawns the correct process
# based on environmpackages/cloud-coreent variables (which changes instance to instance)
CMD packages/cloud-core/_n1cloud_docker_launcher.sh ${AWS_SERVICE_NAME}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors/n1.git
git@gitee.com:mirrors/n1.git
mirrors
n1
n1
master

搜索帮助