2
0
forked from jmug/cactoide

feat: add an option to remove the landing page

This commit is contained in:
Levente Orban
2025-10-10 18:32:28 +02:00
parent ef6005e648
commit af88d6462b
2 changed files with 5 additions and 1 deletions

View File

@@ -60,7 +60,8 @@ jobs:
with:
context: .
file: ./Dockerfile
args: --build-arg PUBLIC_LANDING_INFO=true
build-args: |
PUBLIC_LANDING_INFO=${{ vars.PUBLIC_LANDING_INFO }}
push: true
platforms: linux/amd64,linux/arm64
cache-from: type=gha

View File

@@ -5,6 +5,9 @@ COPY package*.json .
RUN npm ci
COPY . .
ARG PUBLIC_LANDING_INFO
ENV PUBLIC_LANDING_INFO=$PUBLIC_LANDING_INFO
RUN npm run build
RUN npm prune --production