Ruby
China
Topics
招聘
Wiki
酷站
Gems
Sign Up
Sign In
@zll11111
Member
NO. 26608 /
2016-05-20
0
Topics
/
1
Replies
0
Followers
0
Following
0
Favorites
No GitHub.
Overview
Topics
Replies
Favorites
Following
Followers
长文慎入:将 Rails 程序部署到 Docker 容器中
at
May 16, 2018
感觉 app 的 dockerfile 里第 49 行 COPY . .这句是多此一举,因为已经在 docker-compose.yml 里映射了源文件位置和工作目录,多了这一句,在源文件修改后,build 就会从此处开始重新生成镜像层。
感觉既然在 docker-compose 用了 env,就不用引入 dotenv-rails 了。