Spaces:
Runtime error
Runtime error
Commit
Β·
1eab622
1
Parent(s):
9eee3d5
Fixing dockerfile v2
Browse files- Dockerfile +2 -2
- {app β src}/__init__.py +0 -0
- {app β src}/api.py +0 -0
- {app β src}/config.yaml +0 -0
- {app β src}/main.py +0 -0
- {app β src}/routes.py +0 -0
- {app β src}/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 ["python", "-m", "
|
|
|
12 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
13 |
|
14 |
COPY --chown=user . /app
|
15 |
+
COPY --chown=user src/ /app/src
|
16 |
|
17 |
EXPOSE 7860
|
18 |
|
19 |
# Command to run the application
|
20 |
+
CMD ["python", "-m", "src.main"]
|
{app β src}/__init__.py
RENAMED
File without changes
|
{app β src}/api.py
RENAMED
File without changes
|
{app β src}/config.yaml
RENAMED
File without changes
|
{app β src}/main.py
RENAMED
File without changes
|
{app β src}/routes.py
RENAMED
File without changes
|
{app β src}/schemas.py
RENAMED
File without changes
|