diff --git a/Dockerfile b/Dockerfile index cf2d9350..1259af7e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 \ No newline at end of file +RUN rake db:migrate diff --git a/docker-compose.yml b/docker-compose.yml index 241bce8d..81beac32 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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" \ No newline at end of file + - "3000:3000"