File tree Expand file tree Collapse file tree 6 files changed +18
-10
lines changed
k8s-manifests/storedog-app/deployments Expand file tree Collapse file tree 6 files changed +18
-10
lines changed Original file line number Diff line number Diff line change 4242 image : ${REGISTRY_URL}/frontend:${SD_TAG}
4343 ports :
4444 - containerPort : 3000
45- command : ["npm", "run", "dev "]
45+ command : ["npm", "run", "prod "]
4646 env :
4747 - name : NEXT_PUBLIC_ADS_ROUTE
4848 valueFrom :
@@ -126,12 +126,13 @@ spec:
126126 httpGet :
127127 path : /
128128 port : 3000
129- initialDelaySeconds : 180
130- periodSeconds : 20
129+ initialDelaySeconds : 40
130+ periodSeconds : 30
131131 failureThreshold : 5
132132 readinessProbe :
133133 httpGet :
134134 path : /
135135 port : 3000
136- initialDelaySeconds : 120
136+ initialDelaySeconds : 30
137137 periodSeconds : 20
138+ timeoutSeconds : 5
Original file line number Diff line number Diff line change 8585 memory : " 512Mi"
8686 cpu : " 250m"
8787 limits :
88- memory : " 1Gi "
89- cpu : " 500m "
88+ memory : " 2Gi "
89+ cpu : " 1000m "
9090 volumeMounts :
9191 - name : apmsocketpath
9292 mountPath : /var/run/datadog
Original file line number Diff line number Diff line change @@ -48,6 +48,13 @@ ENV PATH="${BUNDLE_BIN}:${PATH}"
4848
4949COPY . .
5050
51+ # Upgrade RubyGems and Bundler
52+ # When upgrading RubyGems
53+ # * upgrade Bundler to match the new RubyGems version
54+ # * update "BUNDLED WITH" in Gemfile.lock to match the bundler version
55+ RUN gem update --system 3.5.23
56+ RUN gem install bundler -v 2.5.23
57+
5158RUN bundle install || exit 1
5259RUN npm install
5360RUN npm run build
Original file line number Diff line number Diff line change @@ -87,8 +87,8 @@ gem 'activerecord-nulldb-adapter'
8787# improved JSON rendering performance
8888gem 'oj'
8989
90- # Fix SCSS errors with Ruby 3 on MacOS
91- gem 'sassc ' , github : 'sass/sassc-ruby' , group : :development
90+ gem 'sassc-rails' , '~> 2.1.2'
91+ gem 'sass ' , '~> 3.7.4' # Dart Sass implementation
9292
9393# Required for Ruby 3.1.7
9494gem 'net-smtp'
Original file line number Diff line number Diff line change @@ -740,4 +740,4 @@ RUBY VERSION
740740 ruby 3.1.7
741741
742742BUNDLED WITH
743- 2.3.27
743+ 2.5.23
Original file line number Diff line number Diff line change 11---
2- :concurrency : 5
2+ :concurrency : 2
33:max_memory : 512 # MB
44:gc_interval : 10 # GC every 10 jobs
55:queues :
You can’t perform that action at this time.
0 commit comments