Update Dockerfile
Browse files- Dockerfile +2 -3
Dockerfile
CHANGED
@@ -11,7 +11,6 @@ ENV PYTHONUNBUFFERED=1 \
|
|
11 |
WORKDIR /app
|
12 |
|
13 |
# Install system dependencies for llama-cpp-python
|
14 |
-
# These are build tools and compilers required to build llama-cpp-python from source
|
15 |
RUN apt-get update && apt-get install -y --no-install-recommends \
|
16 |
build-essential \
|
17 |
cmake \
|
@@ -29,5 +28,5 @@ COPY . .
|
|
29 |
# Expose the port FastAPI will run on
|
30 |
EXPOSE 7860
|
31 |
|
32 |
-
# Command to run the
|
33 |
-
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
11 |
WORKDIR /app
|
12 |
|
13 |
# Install system dependencies for llama-cpp-python
|
|
|
14 |
RUN apt-get update && apt-get install -y --no-install-recommends \
|
15 |
build-essential \
|
16 |
cmake \
|
|
|
28 |
# Expose the port FastAPI will run on
|
29 |
EXPOSE 7860
|
30 |
|
31 |
+
# Command to run the application
|
32 |
+
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|