filip-krolop commited on
Commit
2126b20
·
verified ·
1 Parent(s): c6f39b7

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -0
Dockerfile CHANGED
@@ -1,5 +1,10 @@
1
  FROM ghcr.io/ggml-org/llama.cpp:server
2
 
 
 
 
 
 
3
  WORKDIR /app
4
 
5
  RUN apt update && apt install -y python3 python3-pip python3-venv
 
1
  FROM ghcr.io/ggml-org/llama.cpp:server
2
 
3
+ # Hugging Face Spaces port requirement
4
+ ENV HOST=0.0.0.0
5
+ ENV PORT=7860
6
+ EXPOSE 7860
7
+
8
  WORKDIR /app
9
 
10
  RUN apt update && apt install -y python3 python3-pip python3-venv