eddmpython commited on
Commit
3d23f0c
ยท
verified ยท
1 Parent(s): 75173d8

fix: add LICENSE for hatchling build

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -6
Dockerfile CHANGED
@@ -2,22 +2,20 @@ FROM python:3.12-slim
2
 
3
  WORKDIR /app
4
 
5
- # lxml ๋“ฑ C ์˜์กด์„ฑ ๋นŒ๋“œ์— ํ•„์š”
6
  RUN apt-get update && apt-get install -y --no-install-recommends \
7
  gcc g++ libxml2-dev libxslt1-dev \
8
  && rm -rf /var/lib/apt/lists/*
9
 
10
- # uv ์„ค์น˜
11
  RUN pip install --no-cache-dir uv
12
 
13
- # ์†Œ์Šค ์ „์ฒด ๋ณต์‚ฌ
14
- COPY pyproject.toml uv.lock ./
15
  COPY src/ src/
16
 
17
- # ์˜์กด์„ฑ + ํŒจํ‚ค์ง€ ์„ค์น˜
18
  RUN uv pip install --system .
19
 
20
- # HF Spaces ํ™˜๊ฒฝ๋ณ€์ˆ˜
21
  ENV SPACE_ID=eddmpython/dartlab
22
  ENV DARTLAB_MCP_HTTP=1
23
  ENV DARTLAB_CORS_ORIGINS=*
 
2
 
3
  WORKDIR /app
4
 
5
+ # ๋นŒ๋“œ ๋„๊ตฌ (lxml ๋“ฑ)
6
  RUN apt-get update && apt-get install -y --no-install-recommends \
7
  gcc g++ libxml2-dev libxslt1-dev \
8
  && rm -rf /var/lib/apt/lists/*
9
 
 
10
  RUN pip install --no-cache-dir uv
11
 
12
+ # ์†Œ์Šค ๋ณต์‚ฌ (LICENSE ํฌํ•จ โ€” hatchling ๋นŒ๋“œ ํ•„์ˆ˜)
13
+ COPY pyproject.toml uv.lock LICENSE ./
14
  COPY src/ src/
15
 
16
+ # ์„ค์น˜
17
  RUN uv pip install --system .
18
 
 
19
  ENV SPACE_ID=eddmpython/dartlab
20
  ENV DARTLAB_MCP_HTTP=1
21
  ENV DARTLAB_CORS_ORIGINS=*