fixed project name & added newlines

This commit is contained in:
Andrew Carreiro 2016-10-12 19:17:10 -04:00
parent f3d015b1f1
commit e529203a1e
2 changed files with 6 additions and 6 deletions

View File

@ -1,9 +1,9 @@
FROM ruby:2.3.1
RUN apt-get update -qq && apt-get install -y build-essential libpq-dev nodejs imagemagick libmagickwand-dev
RUN mkdir /notepad-ai
RUN mkdir /notebook-ai
RUN gem install rails -v 4.2.5
WORKDIR /notepad-ai
ADD . /notepad-ai
WORKDIR /notebook-ai
ADD . /notebook-ai
RUN bundle install
RUN rake db:create
RUN rake db:migrate
RUN rake db:migrate

View File

@ -4,6 +4,6 @@ services:
build: .
command: bash -c "rake db:migrate && rm -f tmp/pids/server.pid && rails server -b '0.0.0.0'"
volumes:
- .:/notepad-ai
- .:/notebook-ai
ports:
- "3000:3000"
- "3000:3000"