fix: use serve temporarily to regenerate dist based on user's .env
All checks were successful
Build and push Docker image / build (push) Successful in 33s
Release new version / release (push) Successful in 27s
Update changelog / changelog (push) Successful in 25s

This commit is contained in:
2026-01-21 00:50:28 +01:00
parent 89b332f620
commit 447ea1c761
2 changed files with 3 additions and 2 deletions

View File

@@ -1,2 +1,3 @@
.env .env
kittyurl-frontend/node_modules kittyurl-frontend/node_modules
kittyurl-frontend/dist

View File

@@ -27,4 +27,4 @@ EXPOSE 6568
# Since we don't know user's .env ahead of time, kittyFE needs to # Since we don't know user's .env ahead of time, kittyFE needs to
# rebuild itself every launch so that the changes in .env get reflected. # rebuild itself every launch so that the changes in .env get reflected.
# This is not ideal and we're looking into possible ways to improve this. # This is not ideal and we're looking into possible ways to improve this.
CMD ["npm", "run", "preview", "--", "--host", "0.0.0.0", "--port", "6568"] CMD ["npm", "run", "serve", "--", "--host", "0.0.0.0", "--port", "6568"]