Hugoifier

fix(docker): broken CMD, wrong subcommand, missing env vars, deprecated version key Closes #1

lmata 2026-03-12 21:50 trunk
Commit 5641b02026e6083f6c7a14f7c8a17873be00df74fd6dfcfafcf2885255aea22c
2 files changed +1 -1 +6 -4
+1 -1
--- Dockerfile
+++ Dockerfile
@@ -18,6 +18,6 @@
1818
1919
# Set environment variable for OpenAI API key (you may also pass this at runtime)
2020
# ENV OPENAI_API_KEY=your_openai_api_key
2121
2222
# Define the command to run your application
23
-CMD ["python3", "src/main.py"]
23
+CMD ["python3", "src/cli.py"]
2424
--- Dockerfile
+++ Dockerfile
@@ -18,6 +18,6 @@
18
19 # Set environment variable for OpenAI API key (you may also pass this at runtime)
20 # ENV OPENAI_API_KEY=your_openai_api_key
21
22 # Define the command to run your application
23 CMD ["python3", "src/main.py"]
24
--- Dockerfile
+++ Dockerfile
@@ -18,6 +18,6 @@
18
19 # Set environment variable for OpenAI API key (you may also pass this at runtime)
20 # ENV OPENAI_API_KEY=your_openai_api_key
21
22 # Define the command to run your application
23 CMD ["python3", "src/cli.py"]
24
--- docker-compose.yml
+++ docker-compose.yml
@@ -1,10 +1,12 @@
1
-version: '3.8'
2
-
31
services:
42
hugoifier:
53
build: .
64
environment:
5
+ - ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY}
76
- OPENAI_API_KEY=${OPENAI_API_KEY}
7
+ - GOOGLE_API_KEY=${GOOGLE_API_KEY}
8
+ - HUGOIFIER_BACKEND=${HUGOIFIER_BACKEND:-anthropic}
89
volumes:
9
- - ./:/app
10
- command: python cli.py convert --input theme.html --output hugo-theme
10
+ - ./themes:/app/themes
11
+ - ./output:/app/output
12
+ command: python src/cli.py complete themes/
1113
--- docker-compose.yml
+++ docker-compose.yml
@@ -1,10 +1,12 @@
1 version: '3.8'
2
3 services:
4 hugoifier:
5 build: .
6 environment:
 
7 - OPENAI_API_KEY=${OPENAI_API_KEY}
 
 
8 volumes:
9 - ./:/app
10 command: python cli.py convert --input theme.html --output hugo-theme
 
11
--- docker-compose.yml
+++ docker-compose.yml
@@ -1,10 +1,12 @@
 
 
1 services:
2 hugoifier:
3 build: .
4 environment:
5 - ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY}
6 - OPENAI_API_KEY=${OPENAI_API_KEY}
7 - GOOGLE_API_KEY=${GOOGLE_API_KEY}
8 - HUGOIFIER_BACKEND=${HUGOIFIER_BACKEND:-anthropic}
9 volumes:
10 - ./themes:/app/themes
11 - ./output:/app/output
12 command: python src/cli.py complete themes/
13

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button