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: with:
context: . context: .
file: ./Dockerfile file: ./Dockerfile
args: --build-arg PUBLIC_LANDING_INFO=true build-args: |
PUBLIC_LANDING_INFO=${{ vars.PUBLIC_LANDING_INFO }}
push: true push: true
platforms: linux/amd64,linux/arm64 platforms: linux/amd64,linux/arm64
cache-from: type=gha cache-from: type=gha

View File

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