wjm55 commited on
Commit
1fae2de
·
1 Parent(s): 876d7d5

Update Dockerfile to add GRPC_PORT environment variable and remove exposure of port 50051

Browse files
Files changed (2) hide show
  1. Dockerfile +3 -2
  2. README.md +1 -1
Dockerfile CHANGED
@@ -4,9 +4,10 @@ ENV QUERY_DEFAULTS_LIMIT=25 \
4
  AUTHENTICATION_ANONYMOUS_ACCESS_ENABLED=true \
5
  PERSISTENCE_DATA_PATH=/var/lib/weaviate \
6
  ENABLE_API_BASED_MODULES=true \
7
- CLUSTER_HOSTNAME=node1
 
8
 
9
- EXPOSE 7860 50051
10
 
11
  # Create data directory with proper permissions
12
  RUN mkdir -p /var/lib/weaviate && \
 
4
  AUTHENTICATION_ANONYMOUS_ACCESS_ENABLED=true \
5
  PERSISTENCE_DATA_PATH=/var/lib/weaviate \
6
  ENABLE_API_BASED_MODULES=true \
7
+ CLUSTER_HOSTNAME=node1 \
8
+ GRPC_PORT=7860
9
 
10
+ EXPOSE 7860
11
 
12
  # Create data directory with proper permissions
13
  RUN mkdir -p /var/lib/weaviate && \
README.md CHANGED
@@ -5,7 +5,7 @@ colorFrom: green
5
  colorTo: blue
6
  sdk: docker
7
  pinned: false
8
- app_port : 50051
9
  ---
10
 
11
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
5
  colorTo: blue
6
  sdk: docker
7
  pinned: false
8
+ app_port : 7860
9
  ---
10
 
11
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference