Logo
Explore Help
Register Sign In
tianpu/tp-ems
1
0
Fork 0
You've already forked tp-ems
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
8e5a794cfec7d381b744bbb4274878890ac0aed7
tp-ems/frontend/Dockerfile

12 lines
149 B
Docker
Raw Normal View History

feat: add customer-owned frontend, device config, pricing (v1.2.0) - Add frontend/ at root (customer's own React app, all pages) - Add customers/tianpu/devices.json (17 devices, 375kW PV) - Add customers/tianpu/pricing.json (Beijing TOU 4-tier) - Add customers/tianpu/hooks/__init__.py - Add .githooks/pre-commit to block core/ modifications - Add CLAUDE.md, .gitignore - Update docker-compose.override.yml frontend -> ./frontend - Pin bcrypt==4.0.1 in requirements.txt Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-05 23:42:42 +08:00
FROM node:20-alpine
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
EXPOSE 3000
CMD ["npm", "run", "dev", "--", "--host", "0.0.0.0"]
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.5 Page: 76ms Template: 0ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API