Skip to content

Commit a600ecc

Browse files
committed
chore: check the path of hatch executable
1 parent d1f3a2d commit a600ecc

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

emulator/DockerFile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@ COPY . .
1010
# install emulator
1111
RUN hatch run pip install -e .
1212

13+
# where is the hatch executable installed
14+
RUN where hatch
15+
1316
# enable hatch executable
1417
RUN chmod +x /usr/local/bin/hatch
1518

16-
CMD /usr/local/bin/hatch run durable-functions-emulator --host 0.0.0.0 --port 9014
19+
CMD ["/usr/local/bin/hatch", "run", "durable-functions-emulator", "--host", "0.0.0.0", "--port", "9014"]

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,9 @@ exclude_lines = [
116116
[tool.ruff]
117117
line-length = 88
118118
target-version = "py313"
119+
exclude = [
120+
"emulator"
121+
]
119122

120123
[tool.ruff.lint]
121124
preview = false

0 commit comments

Comments
 (0)