Skip to content

Commit

Permalink
fix: switch default port to 8000 (#6)
Browse files Browse the repository at this point in the history
Fixes #5

Signed-off-by: Jeff MAURY <[email protected]>
  • Loading branch information
jeffmaury authored Feb 28, 2024
1 parent 7265c9c commit a5fe7d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion chat/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ COPY requirements.txt requirements.txt
RUN pip install --no-cache-dir --upgrade -r requirements.txt
USER default
COPY run.sh run.sh
EXPOSE 8001
EXPOSE 8000
ENTRYPOINT [ "sh", "run.sh" ]
2 changes: 1 addition & 1 deletion chat/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
# limitations under the License.
#
# SPDX-License-Identifier: Apache-2.0
python -m llama_cpp.server --model ${MODEL_PATH} --host ${HOST:=0.0.0.0} --port ${PORT:=8001} --n_gpu_layers 0
python -m llama_cpp.server --model ${MODEL_PATH} --host ${HOST:=0.0.0.0} --port ${PORT:=8000} --n_gpu_layers 0

0 comments on commit a5fe7d6

Please sign in to comment.