Spaces:
Runtime error
Runtime error
tst
Browse files- Dockerfile +1 -0
- app/__main__.py +5 -0
- app.py → app/app.py +0 -0
Dockerfile
CHANGED
@@ -7,6 +7,7 @@ FROM jgwill/ubuntu:22.04-py3.10-ml-lzma
|
|
7 |
WORKDIR /code
|
8 |
|
9 |
COPY ./requirements.txt /code/requirements.txt
|
|
|
10 |
|
11 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
12 |
|
|
|
7 |
WORKDIR /code
|
8 |
|
9 |
COPY ./requirements.txt /code/requirements.txt
|
10 |
+
COPY ./app /code/app
|
11 |
|
12 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
13 |
|
app/__main__.py
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import uvicorn
|
2 |
+
|
3 |
+
if __name__ == "__main__":
|
4 |
+
uvicorn.run(app, host="0.0.0.0", port=7860)
|
5 |
+
|
app.py → app/app.py
RENAMED
File without changes
|