Skip to content

Commit adb711e

Browse files
authored
Merge pull request #21 from keepsimpleio/dev
Longevity Protocol
2 parents 5431e4a + 1480d2a commit adb711e

507 files changed

Lines changed: 10117 additions & 669 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/pull-request-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Setup Node.js
1818
uses: actions/setup-node@v2
1919
with:
20-
node-version: '18'
20+
node-version: '20.19.0'
2121

2222
- name: Install Dependencies
2323
run: yarn install

Dockerfile

Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,22 @@
1-
FROM node:20.14.0
2-
3-
WORKDIR /app
1+
FROM node:20.19.0 AS base
2+
WORKDIR /app
43

5-
COPY package*.json ./
4+
FROM base AS deps
5+
COPY package.json yarn.lock ./
6+
RUN yarn install --frozen-lockfile
67

7-
RUN yarn install
8-
9-
COPY . .
10-
11-
RUN yarn run build
12-
13-
EXPOSE 3005
14-
15-
CMD ["yarn", "run", "start:staging"]
8+
FROM base AS builder
9+
COPY --from=deps /app/node_modules ./node_modules
10+
COPY . .
11+
RUN yarn run build
1612

13+
FROM base AS runner
14+
ENV NODE_ENV=production
15+
WORKDIR /app
16+
COPY --from=builder /app/package.json ./package.json
17+
COPY --from=builder /app/next.config.js ./next.config.js
18+
COPY --from=builder /app/public ./public
19+
COPY --from=builder /app/.next ./.next
20+
COPY --from=builder /app/node_modules ./node_modules
21+
EXPOSE 3005
22+
CMD ["yarn", "run", "start:staging"]

docker-compose.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
services:
2+
web:
3+
build: .
4+
ports:
5+
- "3005:3005"

public/keepsimple_/assets/longevity/basic-stats/age.svg

Lines changed: 4 additions & 0 deletions

public/keepsimple_/assets/longevity/basic-stats/gender.svg

Lines changed: 11 additions & 0 deletions

public/keepsimple_/assets/longevity/basic-stats/height.svg

Lines changed: 4 additions & 0 deletions

public/keepsimple_/assets/longevity/basic-stats/occupation.svg

Lines changed: 11 additions & 0 deletions

public/keepsimple_/assets/longevity/basic-stats/weight.svg

Lines changed: 11 additions & 0 deletions

public/keepsimple_/assets/longevity/btn-border.svg

Lines changed: 10 additions & 0 deletions
160 KB

0 commit comments

Comments
 (0)