2 Commits

Author SHA1 Message Date
447ea1c761 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
2026-01-21 00:50:28 +01:00
89b332f620 fix: typo in Dockerfile
All checks were successful
Update changelog / changelog (push) Successful in 26s
2026-01-20 22:19:43 +01:00
3 changed files with 4 additions and 4 deletions

View File

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

View File

@@ -36,8 +36,7 @@ jobs:
- name: Push Docker images
env:
BRANCH_NAME: ${{ github.ref_name }}
SHORT_HASH: ${{ github.sha }}
REF_NAME: ${{ github.ref_name }}
run: |
docker push gitea.7o7.cx/kittyteam/kittyfe:master-${REF_NAME}
docker push gitea.7o7.cx/kittyteam/kittyfe:latest

View File

@@ -27,4 +27,4 @@ EXPOSE 6568
# 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.
# 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"]