Spaces:
Paused
Paused
andreagalle commited on
Commit ·
3a937e3
1
Parent(s): 8ab869c
just moving around stuff
Browse files- Dockerfile +3 -2
- app.py → main.py +0 -0
Dockerfile
CHANGED
|
@@ -7,7 +7,7 @@ WORKDIR /app
|
|
| 7 |
# Copy the requirements files
|
| 8 |
COPY requirements.txt /app/
|
| 9 |
# Copy the FastAPI app code
|
| 10 |
-
COPY
|
| 11 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 12 |
|
| 13 |
# Install dependencies
|
|
@@ -29,6 +29,7 @@ RUN mkdir -p /app/dust3r/checkpoints && \
|
|
| 29 |
# Expose the port FastAPI is running on
|
| 30 |
EXPOSE 7860
|
| 31 |
|
|
|
|
| 32 |
# Command to run the FastAPI app
|
| 33 |
-
CMD ["uvicorn", "
|
| 34 |
|
|
|
|
| 7 |
# Copy the requirements files
|
| 8 |
COPY requirements.txt /app/
|
| 9 |
# Copy the FastAPI app code
|
| 10 |
+
COPY main.py /app/
|
| 11 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 12 |
|
| 13 |
# Install dependencies
|
|
|
|
| 29 |
# Expose the port FastAPI is running on
|
| 30 |
EXPOSE 7860
|
| 31 |
|
| 32 |
+
WORKDIR /app
|
| 33 |
# Command to run the FastAPI app
|
| 34 |
+
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|
| 35 |
|
app.py → main.py
RENAMED
|
File without changes
|