Skip to content

Commit dc8e2d1

Browse files
committed
fix: Dockerfile dependency
1 parent 96be5ec commit dc8e2d1

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Dockerfile

+5-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,11 @@ WORKDIR /app
88
# Copy necessary files
99
COPY . .
1010

11-
# Install Hatchling to handle the build
12-
RUN pip install hatchling
11+
# Install hatch to handle the build
12+
RUN pip install hatch
13+
14+
# Clean dist directory before build
15+
RUN rm -rf dist/*
1316

1417
# Use hatch to build the package and install it
1518
RUN hatch build && pip install dist/*.whl

0 commit comments

Comments
 (0)