@atlashub/smartstack-cli 4.73.0 → 4.74.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlashub/smartstack-cli",
3
- "version": "4.73.0",
3
+ "version": "4.74.0",
4
4
  "description": "SmartStack Claude Code automation toolkit - GitFlow, EF Core migrations, prompts and more",
5
5
  "author": {
6
6
  "name": "SmartStack",
@@ -28,7 +28,7 @@ COPY src/{{ProjectName}}.Api/ {{ProjectName}}.Api/
28
28
  # Publish release build
29
29
  RUN dotnet publish {{ProjectName}}.Api/{{ProjectName}}.Api.csproj \
30
30
  -c Release \
31
- -o /src/publish \
31
+ -o /publish \
32
32
  --no-restore
33
33
 
34
34
  # --- Stage 2: Runtime ---
@@ -40,7 +40,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends curl && rm -rf
40
40
  WORKDIR /app
41
41
 
42
42
  # Copy published app
43
- COPY --from=build /src/publish/ .
43
+ COPY --from=build /publish/ ./
44
44
 
45
45
  # Configure ports
46
46
  # 5142 = API HTTP
@@ -16,6 +16,26 @@ services:
16
16
  - "8080:8080"
17
17
  environment:
18
18
  - ASPNETCORE_ENVIRONMENT=Production
19
+ healthcheck:
20
+ test: ["CMD", "curl", "-sf", "http://localhost:8080/health"]
21
+ interval: 10s
22
+ timeout: 5s
23
+ retries: 10
24
+ start_period: 120s
25
+ depends_on:
26
+ redis:
27
+ condition: service_healthy
28
+
29
+ redis:
30
+ image: redis:7-alpine
31
+ container_name: {{ProjectNameLower}}-redis
32
+ ports:
33
+ - "6379:6379"
34
+ healthcheck:
35
+ test: ["CMD", "redis-cli", "ping"]
36
+ interval: 5s
37
+ timeout: 3s
38
+ retries: 5
19
39
 
20
40
  frontend:
21
41
  build: