domain change

This commit is contained in:
2026-09-28 18:08:55 +05:30
parent c9616edad9
commit eeef8851e4
34 changed files with 99 additions and 4211 deletions

View File

@@ -68,16 +68,18 @@ ENV VITE_API_BASE=$VITE_API_BASE
# it did. The platform build is the one that has to be asked for — the opposite
# default would turn every environment that had not been told about this into a
# platform console on the day it shipped.
ARG VITE_WORKSPACE="merchant"
ENV VITE_WORKSPACE=$VITE_WORKSPACE
# The other console's address, for the sentence shown to somebody in the wrong
# place. Only the one this build is NOT is used; both are given so a single set
# of build args works for either image.
# There is no workspace flag in this image.
#
# One existed while a single codebase served both consoles and had to be told
# which it was. Nearle's own staff now have their own application —
# `nearle-platform`, its own repository and its own deploy — and this image is
# the merchant console and nothing else.
#
# The platform console's address, for the sentence shown to a staff member who
# signs in at the wrong site. A build argument rather than a constant because
# the two are separate deployments and either can move.
ARG VITE_PLATFORM_HOST="platform.nearledaily.com"
ENV VITE_PLATFORM_HOST=$VITE_PLATFORM_HOST
ARG VITE_MERCHANT_HOST="app.nearledaily.com"
ENV VITE_MERCHANT_HOST=$VITE_MERCHANT_HOST
RUN npm run build