Skip to content

Commit f4daf4a

Browse files
authored
Merge pull request #11 from cr7258/fix-dockerfile
fix: Dockerfile dependency
2 parents 96be5ec + dc8e2d1 commit f4daf4a

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)