Update Dockerfile
Browse files- Dockerfile +4 -2
Dockerfile
CHANGED
|
@@ -19,10 +19,12 @@ WORKDIR /app
|
|
| 19 |
COPY requirements.txt .
|
| 20 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 21 |
RUN pip install accelerate
|
| 22 |
-
# Install DeepSeek 1.5 (if it's a Python package, otherwise adjust this step)
|
| 23 |
|
|
|
|
| 24 |
COPY . .
|
| 25 |
|
|
|
|
| 26 |
EXPOSE 7860
|
| 27 |
|
| 28 |
-
|
|
|
|
|
|
| 19 |
COPY requirements.txt .
|
| 20 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 21 |
RUN pip install accelerate
|
|
|
|
| 22 |
|
| 23 |
+
# Copy the application code into the container
|
| 24 |
COPY . .
|
| 25 |
|
| 26 |
+
# Expose the port your application will run on
|
| 27 |
EXPOSE 7860
|
| 28 |
|
| 29 |
+
# Define the command to run your FastAPI application
|
| 30 |
+
CMD ["python", "app.py"]
|