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 FROM node:16-alpine as builder
WORKDIR /app WORKDIR /app
COPY . . 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 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 FROM node:16-alpine as relocate

View File

@ -1,7 +1,7 @@
FROM node:16-alpine as builder FROM node:16-alpine as builder
WORKDIR /app WORKDIR /app
COPY . . 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 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 FROM node:16-alpine as node_modules

View File

@ -1,7 +1,7 @@
FROM node:16-alpine as builder FROM node:16-alpine as builder
WORKDIR /app WORKDIR /app
COPY . . 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 RUN npm i -g pnpm@7 && pnpm i --frozen-lockfile --store=node_modules/.pnpm-store && pnpm run build
FROM node:16-alpine as relocate FROM node:16-alpine as relocate

View File

@ -1,7 +1,7 @@
FROM node:16-alpine as builder FROM node:16-alpine as builder
WORKDIR /app WORKDIR /app
COPY . . 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 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 FROM node:16-alpine as relocate

View File

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

View File

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