Ruby on rails 无法从Ruby';阿尔卑斯码头形象
我有一个docker图像,基于Ruby的Alpine docker图像,具有以下Ruby on rails 无法从Ruby';阿尔卑斯码头形象,ruby-on-rails,ruby,docker,Ruby On Rails,Ruby,Docker,我有一个docker图像,基于Ruby的Alpine docker图像,具有以下Dockerfile FROM ruby:2.6.5-alpine3.10 RUN apk add --no-cache build-base \ bash \ postgresql-dev; RUN gem install rails 当我运行railsnew.时,我没有看到任何错误,但是由于该命令应该生成的许多目录没
Dockerfile
FROM ruby:2.6.5-alpine3.10
RUN apk add --no-cache build-base \
bash \
postgresql-dev;
RUN gem install rails
当我运行railsnew.
时,我没有看到任何错误,但是由于该命令应该生成的许多目录没有生成。以下是我看到的:
→ docker-compose run app rails new . --database=postgresql
exist
create README.md
create Rakefile
create .ruby-version
create config.ru
create .gitignore
create Gemfile
run git init from "."
但是,如果我基于Ubuntu构建docker映像,rails new.
将生成所有目录和文件
我可能忽略了一些配置或设置吗