This repository was archived by the owner on Mar 1, 2023. It is now read-only.
Commit 0f11700 1 parent 11118f2 commit 0f11700 Copy full SHA for 0f11700
File tree 2 files changed +17
-9
lines changed
2 files changed +17
-9
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ WORKDIR /web
36
36
RUN npm ci
37
37
RUN npm run build
38
38
39
- FROM ruby:2.6.3
39
+ FROM ruby:2.6.3-alpine
40
40
RUN gem install bundler:2.0.1
41
41
42
42
COPY ./api /postfacto
@@ -46,9 +46,22 @@ COPY --from=front-end /web/build /postfacto/client/
46
46
47
47
WORKDIR /postfacto
48
48
49
+ # Nokogiri dependencies
50
+ RUN apk add --update \
51
+ build-base \
52
+ libxml2-dev \
53
+ libxslt-dev
54
+
55
+ RUN apk add --update \
56
+ mariadb-dev \
57
+ postgresql-dev \
58
+ sqlite-dev
59
+
60
+ RUN apk add --update nodejs
61
+
62
+ RUN bundle config build.nokogiri --use-system-libraries
49
63
RUN bundle install --without test
50
- RUN apt-get update -qq
51
- RUN apt-get install -y nodejs
64
+
52
65
RUN bundle exec rake assets:precompile
53
66
54
67
ENV RAILS_ENV production
@@ -60,8 +73,3 @@ EXPOSE 3000
60
73
61
74
ENTRYPOINT "/entrypoint"
62
75
63
-
64
-
65
-
66
-
67
-
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ type: application
44
44
45
45
# This is the chart version. This version number should be incremented each time you make changes
46
46
# to the chart and its templates, including the app version.
47
- version : 0.1 .0-beta
47
+ version : 0.2 .0-beta
48
48
49
49
# This is the version number of the application being deployed. This version number should be
50
50
# incremented each time you make changes to the application.
You can’t perform that action at this time.
0 commit comments