mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
fixed project name & added newlines
This commit is contained in:
parent
f3d015b1f1
commit
e529203a1e
@ -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
|
||||
|
||||
@ -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"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user