optimize dockerfile

pull/105/head
Alex Turchyn 2 years ago
parent 6871a3f840
commit 3b745a650d

@ -1,5 +1,6 @@
/db/*.sqlite3
**/node_modules
/node_modules
/coverage
/doc

@ -37,7 +37,15 @@ COPY ./Gemfile ./Gemfile.lock ./
RUN bundle update --bundler && bundle install && rm -rf ~/.bundle
COPY . ./
COPY ./bin ./bin
COPY ./app ./app
COPY ./config ./config
COPY ./db ./db
COPY ./log ./log
COPY ./lib ./lib
COPY ./public ./public
COPY ./tmp ./tmp
COPY LICENSE README.md Rakefile config.ru ./
COPY --from=webpack /app/public/packs ./public/packs

Loading…
Cancel
Save