Darwin Agent commited on
Commit
3e4e144
ยท
1 Parent(s): f3fa633

fix: resolve CONFIG_ERROR - remove invalid sdk_version and static dir references

Browse files
Files changed (3) hide show
  1. Dockerfile +0 -1
  2. README.md +0 -1
  3. app.py +2 -2
Dockerfile CHANGED
@@ -9,7 +9,6 @@ RUN pip install --no-cache-dir -r requirements.txt
9
  # ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜ ๋ณต์‚ฌ
10
  COPY app.py .
11
  COPY index.html .
12
- COPY static/ ./static/
13
 
14
  # ํฌํŠธ ๋…ธ์ถœ
15
  EXPOSE 7860
 
9
  # ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜ ๋ณต์‚ฌ
10
  COPY app.py .
11
  COPY index.html .
 
12
 
13
  # ํฌํŠธ ๋…ธ์ถœ
14
  EXPOSE 7860
README.md CHANGED
@@ -10,7 +10,6 @@ short_description: HWP/DOCX/XLSX/PPTX/PDF ํŒŒ์ผ ์—…๋กœ๋“œ ๋ฐ ์ฒ˜๋ฆฌ
10
  thumbnail: https://placehold.co/1200x500/4CAF50/ffffff?text=HanSoo+Office+Editor
11
  header: default
12
  date: 2026-04-26
13
- sdk_version:
14
  app_port: 7860
15
  app_file: app.py
16
  app_source_dir: .
 
10
  thumbnail: https://placehold.co/1200x500/4CAF50/ffffff?text=HanSoo+Office+Editor
11
  header: default
12
  date: 2026-04-26
 
13
  app_port: 7860
14
  app_file: app.py
15
  app_source_dir: .
app.py CHANGED
@@ -23,8 +23,8 @@ app.add_middleware(
23
  UPLOAD_DIR = Path("/tmp/hansoo_uploads")
24
  UPLOAD_DIR.mkdir(parents=True, exist_ok=True)
25
 
26
- # ์ •์  ํŒŒ์ผ ์ œ๊ณต
27
- app.mount("/static", StaticFiles(directory="static"), name="static")
28
 
29
 
30
  @app.get("/")
 
23
  UPLOAD_DIR = Path("/tmp/hansoo_uploads")
24
  UPLOAD_DIR.mkdir(parents=True, exist_ok=True)
25
 
26
+ # ์ •์  ํŒŒ์ผ ์ œ๊ณต (static ๋””๋ ‰ํ„ฐ๋ฆฌ๊ฐ€ ์—†์œผ๋ฏ€๋กœ ์ฃผ์„ ์ฒ˜๋ฆฌ)
27
+ # app.mount("/static", StaticFiles(directory="static"), name="static")
28
 
29
 
30
  @app.get("/")