rgerganov commited on
Commit
bd25c21
·
1 Parent(s): be5dd2f
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -7,7 +7,7 @@ ARG BASE_CUDA_RUN_CONTAINER=nvidia/cuda:${CUDA_VERSION}-runtime-ubuntu${UBUNTU_V
7
  FROM ${BASE_CUDA_RUN_CONTAINER} AS runtime
8
 
9
  RUN apt-get update && \
10
- apt-get install -y libgomp1 bash git git-lfs wget curl procps htop vim nano && \
11
  rm -rf /var/lib/apt/lists/*
12
 
13
  # Set up a new user named "user" with user ID 1000
@@ -26,4 +26,5 @@ COPY --chown=user rpc-server $HOME/app
26
 
27
  EXPOSE 7860
28
 
29
- ENTRYPOINT ["/home/user/app/rpc-server", "-p", "7860", "-H", "0.0.0.0"]
 
 
7
  FROM ${BASE_CUDA_RUN_CONTAINER} AS runtime
8
 
9
  RUN apt-get update && \
10
+ apt-get install -y libgomp1 python3 bash git git-lfs wget curl procps htop vim nano && \
11
  rm -rf /var/lib/apt/lists/*
12
 
13
  # Set up a new user named "user" with user ID 1000
 
26
 
27
  EXPOSE 7860
28
 
29
+ #ENTRYPOINT ["/home/user/app/rpc-server", "-p", "7860", "-H", "0.0.0.0"]
30
+ ENTRYPOINT ["/usr/bin/python3", "-m", "http.server", "7860"]