mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-25 09:13:05 +08:00
Clean and update JS dependencies, update Rack gem [SCI-7953] (#5115)
This commit is contained in:
parent
87153b8899
commit
92d7fbb351
5 changed files with 569 additions and 472 deletions
|
@ -1,5 +1,5 @@
|
|||
FROM ruby:2.7.6-bullseye
|
||||
MAINTAINER BioSistemika <info@biosistemika.com>
|
||||
MAINTAINER SciNote <info@scinote.net>
|
||||
|
||||
ARG WKHTMLTOPDF_PACKAGE_URL=https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.buster_amd64.deb
|
||||
|
||||
|
@ -31,9 +31,6 @@ RUN apt-get update -qq && \
|
|||
ln -s /usr/lib/x86_64-linux-gnu/libvips.so.42 /usr/lib/x86_64-linux-gnu/libvips.so && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# heroku tools
|
||||
RUN wget -O- https://toolbelt.heroku.com/install-ubuntu.sh | sh
|
||||
|
||||
ENV BUNDLE_PATH /usr/local/bundle/
|
||||
|
||||
# create app directory
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
FROM ruby:2.7.6-bullseye
|
||||
MAINTAINER BioSistemika <info@biosistemika.com>
|
||||
MAINTAINER SciNote <info@scinote.net>
|
||||
|
||||
ARG WKHTMLTOPDF_PACKAGE_URL=https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.buster_amd64.deb
|
||||
|
||||
|
@ -50,7 +50,6 @@ COPY . .
|
|||
RUN rm -f $APP_HOME/config/application.yml $APP_HOME/production.env
|
||||
|
||||
RUN DATABASE_URL=postgresql://postgres@db/scinote_production \
|
||||
PAPERCLIP_HASH_SECRET=dummy \
|
||||
SECRET_KEY_BASE=dummy \
|
||||
DEFACE_ENABLED=true \
|
||||
bash -c "rake assets:precompile && rake deface:precompile"
|
||||
|
|
|
@ -468,7 +468,7 @@ GEM
|
|||
nio4r (~> 2.0)
|
||||
raabro (1.4.0)
|
||||
racc (1.6.2)
|
||||
rack (2.2.6.2)
|
||||
rack (2.2.6.3)
|
||||
rack-attack (6.4.0)
|
||||
rack (>= 1.0, < 3)
|
||||
rack-cors (1.1.1)
|
||||
|
|
|
@ -68,7 +68,6 @@
|
|||
"css-loader": "2.1.1",
|
||||
"decimal.js": "^10.3.1",
|
||||
"extract-text-webpack-plugin": "^3.0.2",
|
||||
"fabric": "1.6.7",
|
||||
"file-loader": "^4.0.0",
|
||||
"glob": "^7.1.2",
|
||||
"immutability-helper": "^2.7.1",
|
||||
|
|
Loading…
Reference in a new issue