Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -14,7 +14,7 @@ RUN apt-get update && apt-get upgrade -y && apt-get install -y --no-install-reco
|
|
14 |
python3 \
|
15 |
python3-pip \
|
16 |
ninja-build \
|
17 |
-
python3-psycopg2 \
|
18 |
build-essential \
|
19 |
pkg-config \
|
20 |
gnupg2 \
|
@@ -57,7 +57,7 @@ COPY --chown=user . $HOME/app
|
|
57 |
RUN python3 -m pip install --upgrade pip
|
58 |
# Install requirements.txt
|
59 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
60 |
-
CMD ["
|
61 |
# Start the FastAPI app on port 7860, the default port expected by Spaces
|
62 |
#CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|
63 |
#ENTRYPOINT ["python3", "-m", "llama_cpp.server", "--hf_model_repo_id", "Qwen/Qwen1.5-0.5B-Chat-GGUF", "--model", "*q4_0.gguf", "--host", "0.0.0.0"]
|
|
|
14 |
python3 \
|
15 |
python3-pip \
|
16 |
ninja-build \
|
17 |
+
#python3-psycopg2 \
|
18 |
build-essential \
|
19 |
pkg-config \
|
20 |
gnupg2 \
|
|
|
57 |
RUN python3 -m pip install --upgrade pip
|
58 |
# Install requirements.txt
|
59 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
60 |
+
CMD ["python", "-m", "main"]
|
61 |
# Start the FastAPI app on port 7860, the default port expected by Spaces
|
62 |
#CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|
63 |
#ENTRYPOINT ["python3", "-m", "llama_cpp.server", "--hf_model_repo_id", "Qwen/Qwen1.5-0.5B-Chat-GGUF", "--model", "*q4_0.gguf", "--host", "0.0.0.0"]
|