Moved to pnpm. Added caniuse.js to Dockerfile.
This commit is contained in:
+6
-3
@@ -10,17 +10,20 @@ COPY . /app/BikeBike
|
||||
|
||||
RUN apt-get update && apt-get install -y nodejs postgresql-client vim less
|
||||
|
||||
RUN curl -fsSL https://get.pnpm.io/install.sh | bash - && /root/.local/share/pnpm/pnpm add browserslist
|
||||
|
||||
# Note: phantomjs has been deprecated in favor of headless chrome
|
||||
WORKDIR /app/BikeBike
|
||||
|
||||
RUN bundle install
|
||||
|
||||
RUN mkdir -p public/stylesheets/application \
|
||||
-p public/stylesheets/web-fonts \
|
||||
-p public/stylesheets/admin \
|
||||
&& tar xvfz bumbleberry-application.tar.gz -C public/stylesheets/application \
|
||||
&& tar xvfz bumbleberry-web-fonts.tar.gz -C public/stylesheets/web-fonts \
|
||||
&& tar xvfz bumbleberry-admin.tar.gz -C public/stylesheets/admin
|
||||
&& tar xvfz bumbleberry-admin.tar.gz -C public/stylesheets/admin \
|
||||
&& /app/BikeBike/caniuse.js
|
||||
|
||||
RUN bundle install
|
||||
|
||||
# Add a script to be executed every time the container starts.
|
||||
COPY entrypoint.sh /usr/bin/
|
||||
|
||||
Reference in New Issue
Block a user