File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed
Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,9 @@ FROM ruby:3.3.8-alpine AS builder
33RUN apk update && apk upgrade && apk add --update --no-cache \
44 build-base \
55 curl-dev \
6+ libffi-dev \
7+ libyaml-dev \
8+ linux-headers \
69 postgresql-dev \
710 tzdata
811
@@ -24,24 +27,16 @@ RUN apk update && apk upgrade && apk add --update --no-cache \
2427 build-base \
2528 curl \
2629 imagemagick \
27- libffi-dev \
28- perl-yaml-libyaml \
29- linux-headers \
3030 nodejs \
3131 npm \
32- postgresql-client \
3332 tzdata \
3433 vim \
3534 && rm -rf /var/cache/apk/*
3635
37- RUN echo "NodeJS Version:" "$(node -v)"
38- RUN echo "NPM Version:" "$(npm -v)"
39-
4036WORKDIR $RAILS_ROOT
4137
4238COPY . .
4339RUN npm install --global npm
44- RUN npm --version
4540RUN npm install
4641RUN npm run build && npm run build:css
4742
You can’t perform that action at this time.
0 commit comments