Skip to content
This repository was archived by the owner on Dec 18, 2025. It is now read-only.

Commit ecd3f3e

Browse files
committed
Fix quay.io build
1 parent 171904a commit ecd3f3e

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

Dockerfile

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
FROM ruby:3.2
22
ENV RACK_ENV=production
33
ENV RAILS_ENV=production
4+
ENV NODE_OPTIONS='--max-old-space-size=2048'
5+
ENV JOBS=1
46

57
SHELL ["/bin/bash", "-c"]
68

79
USER root
810

911
ARG BUNDLE_WITHOUT='development:test'
10-
ARG BUNDLER_VERSION=2.3.13
12+
ARG BUNDLER_VERSION=2.4.10
1113

1214
# install nodejs
1315
RUN curl -sL https://deb.nodesource.com/setup_16.x | bash -
@@ -37,16 +39,13 @@ RUN bundle config set --local deployment 'true' \
3739
RUN rm -rf vendor/cache/ .git
3840

3941
# build frontend
40-
RUN yarn global add ember-cli@4.2.0
42+
RUN yarn global add ember-cli@3.24.0
4143
RUN /app-src/bin/prepare-frontend.sh
44+
RUN rm -rf /app-src/frontend
4245

4346
RUN apt-get remove -y --purge rsync yarn nodejs
4447
RUN apt-get autoremove -y
4548

46-
RUN bundle config set --local deployment 'true' \
47-
&& bundle config set --local without ${BUNDLE_WITHOUT} \
48-
&& bundle
49-
5049
RUN adduser --disabled-password --uid 1001 --gid 0 --gecos "" app
5150

5251
USER 1001

0 commit comments

Comments
 (0)