Skip to content

RSchumacher13/docker-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dockerized-app

Sample rails app Dockerfile and resources Some elements <####> are missing within the Dockerfile, your task is to understand what should be written instead of these placeholders.

hints:

  • Rails default listen port is 3000
  • Any command must be prefixed by bundle exec, find a way to force a container to do that
  • Gemfile is a 'plugin' definition for Rails, it should be present within the root folder of the app, Gemfile.lock should also be present
  • The command needed to perform an application creation is rails new <path> --database=postgresql, we wont automatize this, you should perform it manually
  • The command needed to perform a database creation is rake db:create, we wont automatize this, you should perform it manually
  • docker/database.yml is a database configuration file for Rails, it should be used at runtime, explain why

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors