Skip to content

Commit

Permalink
fix weird import bug
Browse files Browse the repository at this point in the history
  • Loading branch information
vemonet committed Aug 4, 2023
1 parent adb8118 commit 8a08a97
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ RUN pip install -r requirements.txt
## Copy the source code (in the same folder as the Dockerfile)
COPY . .

ENV MODULE_NAME=src.trapi.main
ENV MODULE_NAME=trapi.main
ENV VARIABLE_NAME=app

RUN pip install -e ".[train,test]"
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,8 @@ fix-permission = "sudo chown -R $(id -u):$(id -g) models data"

# TOOLS

# [tool.hatch.build]
# sources = ["src"]
[tool.hatch.build]
sources = ["src"]

[tool.hatch.metadata]
allow-direct-references = true
Expand Down

0 comments on commit 8a08a97

Please sign in to comment.