diff --git a/frontend/Dockerfile b/frontend/Dockerfile index 9a9862a..4bed2a7 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -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 diff --git a/frontend/src/components/AuthGate.tsx b/frontend/src/components/AuthGate.tsx index d5eea72..0137f25 100644 --- a/frontend/src/components/AuthGate.tsx +++ b/frontend/src/components/AuthGate.tsx @@ -85,7 +85,7 @@ export function AuthGate({ children }: Props) { Noticeboard
- Hotel Number Four + {import.meta.env.VITE_HOTEL_NAME}