Spaces:
Running
Running
Commit
·
8c5af8c
1
Parent(s):
bc75bbb
Rename app.py to main.py to force complete rebuild
Browse files- Rename main application file
- Update Dockerfile to use main.py
- This should bypass any caching issues
- Dockerfile +2 -2
- app.py → main.py +0 -0
Dockerfile
CHANGED
@@ -20,9 +20,9 @@ RUN pip install --no-cache-dir --upgrade pip
|
|
20 |
RUN pip install --no-cache-dir -r requirements.txt
|
21 |
|
22 |
# Copy application code
|
23 |
-
COPY --chown=user
|
24 |
|
25 |
EXPOSE 7860
|
26 |
|
27 |
# Start the application
|
28 |
-
CMD ["uvicorn", "
|
|
|
20 |
RUN pip install --no-cache-dir -r requirements.txt
|
21 |
|
22 |
# Copy application code
|
23 |
+
COPY --chown=user main.py .
|
24 |
|
25 |
EXPOSE 7860
|
26 |
|
27 |
# Start the application
|
28 |
+
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|
app.py → main.py
RENAMED
File without changes
|