Spaces:
Runtime error
Runtime error
Commit
Β·
09a6e2b
1
Parent(s):
ff7b0eb
Fixing dockerfile v11
Browse files- Dockerfile +2 -2
- {src β main}/__init__.py +0 -0
- {src β main}/api.py +0 -0
- {src β main}/config.yaml +0 -0
- {src β main}/main.py +0 -0
- {src β main}/routes.py +0 -0
- {src β main}/schemas.py +0 -0
Dockerfile
CHANGED
@@ -12,9 +12,9 @@ COPY --chown=user ./requirements.txt requirements.txt
|
|
12 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
13 |
|
14 |
COPY --chown=user . /app
|
15 |
-
COPY --chown=user
|
16 |
|
17 |
EXPOSE 7860
|
18 |
|
19 |
# Command to run the application
|
20 |
-
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
12 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
13 |
|
14 |
COPY --chown=user . /app
|
15 |
+
COPY --chown=user main/ /app/main
|
16 |
|
17 |
EXPOSE 7860
|
18 |
|
19 |
# Command to run the application
|
20 |
+
CMD ["uvicorn", "main.main:app", "--host", "0.0.0.0", "--port", "7860"]
|
{src β main}/__init__.py
RENAMED
File without changes
|
{src β main}/api.py
RENAMED
File without changes
|
{src β main}/config.yaml
RENAMED
File without changes
|
{src β main}/main.py
RENAMED
File without changes
|
{src β main}/routes.py
RENAMED
File without changes
|
{src β main}/schemas.py
RENAMED
File without changes
|