Fix HF Space Docker packaging
Browse files- .dockerignore +1 -5
- pyproject.toml +3 -5
- server/__init__.py +1 -5
.dockerignore
CHANGED
|
@@ -57,10 +57,6 @@ logs/
|
|
| 57 |
*.tmp
|
| 58 |
*.temp
|
| 59 |
|
| 60 |
-
# Documentation
|
| 61 |
-
README.md
|
| 62 |
-
docs/
|
| 63 |
-
|
| 64 |
# Test files
|
| 65 |
tests/
|
| 66 |
test_*.py
|
|
@@ -91,4 +87,4 @@ node_modules/
|
|
| 91 |
|
| 92 |
# Docker
|
| 93 |
Dockerfile.*
|
| 94 |
-
docker-compose*.yml
|
|
|
|
| 57 |
*.tmp
|
| 58 |
*.temp
|
| 59 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 60 |
# Test files
|
| 61 |
tests/
|
| 62 |
test_*.py
|
|
|
|
| 87 |
|
| 88 |
# Docker
|
| 89 |
Dockerfile.*
|
| 90 |
+
docker-compose*.yml
|
pyproject.toml
CHANGED
|
@@ -37,11 +37,9 @@ dev = [
|
|
| 37 |
]
|
| 38 |
|
| 39 |
[project.scripts]
|
| 40 |
-
# Server entry point
|
| 41 |
-
|
| 42 |
-
server = "echo_env.server.app:main"
|
| 43 |
|
| 44 |
[tool.setuptools]
|
| 45 |
include-package-data = true
|
| 46 |
-
packages = ["
|
| 47 |
-
package-dir = { "echo_env" = ".", "echo_env.server" = "server" }
|
|
|
|
| 37 |
]
|
| 38 |
|
| 39 |
[project.scripts]
|
| 40 |
+
# Server entry point
|
| 41 |
+
server = "server.app:main"
|
|
|
|
| 42 |
|
| 43 |
[tool.setuptools]
|
| 44 |
include-package-data = true
|
| 45 |
+
packages = ["env", "server"]
|
|
|
server/__init__.py
CHANGED
|
@@ -4,8 +4,4 @@
|
|
| 4 |
# This source code is licensed under the BSD-style license found in the
|
| 5 |
# LICENSE file in the root directory of this source tree.
|
| 6 |
|
| 7 |
-
"""
|
| 8 |
-
|
| 9 |
-
from .echo_environment import EchoEnvironment
|
| 10 |
-
|
| 11 |
-
__all__ = ["EchoEnvironment"]
|
|
|
|
| 4 |
# This source code is licensed under the BSD-style license found in the
|
| 5 |
# LICENSE file in the root directory of this source tree.
|
| 6 |
|
| 7 |
+
"""IDPI Exfil Environment server package."""
|
|
|
|
|
|
|
|
|
|
|
|