mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
Running rails db:migrate causes problems with older migrations which are broken by newer code. Also update db/schema.rb to the latest one generated by running rails db:migrate.
9 lines
237 B
Docker
9 lines
237 B
Docker
FROM ruby:2.6.3
|
|
RUN apt-get update -qq && \
|
|
apt-get install -y build-essential libpq-dev nodejs imagemagick libmagickwand-dev && \
|
|
mkdir /notebook-ai
|
|
COPY . /notebook-ai
|
|
WORKDIR /notebook-ai
|
|
RUN bundle install
|
|
RUN rails db:setup
|