Skip to content

Commit

Permalink
fix: autoscale prod (#2296)
Browse files Browse the repository at this point in the history
  • Loading branch information
matmut7 authored May 31, 2024
1 parent 674c930 commit 6a5eb64
Show file tree
Hide file tree
Showing 4 changed files with 901 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .kontinuous/env/prod/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ app:
cpu: 2
memory: 2G

nginx:
autoscale:
enabled: true

jobs:
runs:
build-app:
Expand Down
893 changes: 893 additions & 0 deletions packages/files/.yarn/releases/yarn-4.0.2.cjs

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions packages/files/.yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
yarnPath: .yarn/releases/yarn-4.0.2.cjs
nodeLinker: node-modules
3 changes: 2 additions & 1 deletion packages/files/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
FROM node:20
COPY package.json yarn.lock ./
WORKDIR /app
COPY package.json yarn.lock .yarnrc.yml ./
COPY .yarn .yarn
RUN yarn
COPY index.js .
Expand Down

0 comments on commit 6a5eb64

Please sign in to comment.