File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed
Expand file tree Collapse file tree 1 file changed +3
-7
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+ yaml-dev \
8+ linux-headers \
69 postgresql-dev \
710 tzdata
811
@@ -24,24 +27,17 @@ 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 \
3232 postgresql-client \
3333 tzdata \
3434 vim \
3535 && rm -rf /var/cache/apk/*
3636
37- RUN echo "NodeJS Version:" "$(node -v)"
38- RUN echo "NPM Version:" "$(npm -v)"
39-
4037WORKDIR $RAILS_ROOT
4138
4239COPY . .
4340RUN npm install --global npm
44- RUN npm --version
4541RUN npm install
4642RUN npm run build && npm run build:css
4743
You can’t perform that action at this time.
0 commit comments