fixing front end client

This commit is contained in:
Chris Troutner
2026-07-15 10:11:32 -07:00
parent bff09a3f55
commit 2cf1223bb2
3 changed files with 14 additions and 0 deletions
+1
View File
@@ -49,6 +49,7 @@ services:
memo-client:
build: ./memo-client
image: memo-client
container_name: memo-client
logging:
driver: json-file
@@ -0,0 +1,9 @@
# psf-memo-db REST API base URL (no trailing slash).
# Baked into the SPA when the memo-client image is built.
# Example: https://api.mydomain.com
#
# Usage:
# cp .env-example .env
# # edit REACT_APP_MEMO_DB_URL
# docker compose build memo-client
REACT_APP_MEMO_DB_URL=http://localhost:5021
+4
View File
@@ -30,6 +30,10 @@ WORKDIR /home/safeuser/psf-memo-client
# Install dependencies
RUN npm install
# Create React App reads REACT_APP_* from this .env at build time.
# Edit production/docker/memo-client/.env before building.
COPY .env .env
# Build the site
RUN npm run build