Make hotel name configurable via VITE_HOTEL_NAME build arg
Defaults to 'Number Four at Stow'. Replaces hardcoded 'Hotel Number Four' and 'HNF Manage' in sidebar, login page, and browser title. Other hotels set VITE_HOTEL_NAME in their /opt/portal/.env before rebuilding. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
64efa435c8
commit
87043ba6af
5 changed files with 11 additions and 6 deletions
|
|
@ -3,6 +3,8 @@ WORKDIR /app
|
|||
COPY package.json .
|
||||
RUN npm install
|
||||
COPY . .
|
||||
ARG VITE_HOTEL_NAME="Number Four at Stow"
|
||||
ENV VITE_HOTEL_NAME=$VITE_HOTEL_NAME
|
||||
RUN npm run build
|
||||
|
||||
FROM nginx:alpine
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue