Moved to pnpm. Added caniuse.js to Dockerfile.

This commit is contained in:
2023-07-17 13:27:40 -04:00
parent a0305d8463
commit 606e44f059
2 changed files with 6 additions and 132 deletions
+6 -3
View File
@@ -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/