Sumkh commited on
Commit
fc124f8
·
verified ·
1 Parent(s): f189c3b

Upload Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -9
Dockerfile CHANGED
@@ -1,20 +1,14 @@
1
- # Use the official vLLM Docker image as the base image
2
  FROM vllm/vllm-openai:latest
3
 
4
- # Set the working directory
5
  WORKDIR /app
6
-
7
- # Copy the repository files into the container
8
  COPY . /app
9
 
10
- # Install additional Python packages (e.g. Gradio and Requests)
11
  RUN pip install --no-cache-dir -r requirements.txt
 
12
 
13
- # Expose the port on which Gradio will run (default: 7860)
14
  EXPOSE 7860
15
 
16
- # Ensure the start script is executable
17
- RUN chmod +x start.sh
18
 
19
- # Run the startup script
20
  CMD ["bash", "start.sh"]
 
 
1
  FROM vllm/vllm-openai:latest
2
 
 
3
  WORKDIR /app
 
 
4
  COPY . /app
5
 
 
6
  RUN pip install --no-cache-dir -r requirements.txt
7
+ RUN chmod +x start.sh
8
 
 
9
  EXPOSE 7860
10
 
11
+ # Clear the base image's entrypoint
12
+ ENTRYPOINT []
13
 
 
14
  CMD ["bash", "start.sh"]