This commit is contained in:
DarkSky 2022-08-04 16:26:23 +08:00
parent 869e0f7ebf
commit ea4d4ffd91
6 changed files with 7 additions and 4 deletions

View File

@ -1,7 +1,7 @@
FROM node:16-alpine as builder
WORKDIR /app
COPY . .
RUN apk add g++ make python3 git zlib
RUN apk add g++ make python3 git libpng-dev
RUN npm i -g pnpm@7 && pnpm i --frozen-lockfile --store=node_modules/.pnpm-store && pnpm run build:local
FROM node:16-alpine as relocate

View File

@ -1,7 +1,7 @@
FROM node:16-alpine as builder
WORKDIR /app
COPY . .
RUN apk add g++ make python3 git zlib
RUN apk add g++ make python3 git libpng-dev
RUN npm i -g pnpm@7 && pnpm i --frozen-lockfile --store=node_modules/.pnpm-store && pnpm run build:keck
FROM node:16-alpine as node_modules

View File

@ -1,7 +1,7 @@
FROM node:16-alpine as builder
WORKDIR /app
COPY . .
RUN apk add g++ make python3 git zlib
RUN apk add g++ make python3 git libpng-dev
RUN npm i -g pnpm@7 && pnpm i --frozen-lockfile --store=node_modules/.pnpm-store && pnpm run build
FROM node:16-alpine as relocate

View File

@ -1,7 +1,7 @@
FROM node:16-alpine as builder
WORKDIR /app
COPY . .
RUN apk add g++ make python3 git zlib
RUN apk add g++ make python3 git libpng-dev
RUN npm i -g pnpm@7 && pnpm i --frozen-lockfile --store=node_modules/.pnpm-store && pnpm run build:venus
FROM node:16-alpine as relocate

View File

@ -6,11 +6,13 @@ on:
branches: [master]
paths:
- 'apps/keck/**'
- '.github/deployment'
- '.github/workflows/keck.yml'
pull_request:
branches: [master]
paths:
- 'apps/keck/**'
- '.github/deployment'
- '.github/workflows/keck.yml'
# Cancels all previous workflow runs for pull requests that have not completed.

View File

@ -5,6 +5,7 @@ on:
branches: [master]
paths:
- 'apps/venus/**'
- '.github/deployment'
- '.github/workflows/venus.yml'
pull_request:
branches: [master]