deepak191z commited on
Commit
a4eb6fa
·
verified ·
1 Parent(s): ef6684d

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -11,7 +11,7 @@ WORKDIR /app
11
 
12
  # Receive Git URL from build argument
13
  RUN --mount=type=secret,id=URL,mode=0444,required=true \
14
- git clone https://$(cat /run/secrets/URL) .
15
 
16
  # Set up virtual environment and dependencies
17
  RUN python -m venv shared_venv && \
@@ -21,4 +21,4 @@ RUN python -m venv shared_venv && \
21
  shared_venv/bin/python -m pip list > /app/pip_list.txt
22
 
23
  EXPOSE 7860
24
- CMD ["shared_venv/bin/python", "-m", "uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
 
11
 
12
  # Receive Git URL from build argument
13
  RUN --mount=type=secret,id=URL,mode=0444,required=true \
14
+ git clone https://github.com/viratxd/deepseek2api.git .
15
 
16
  # Set up virtual environment and dependencies
17
  RUN python -m venv shared_venv && \
 
21
  shared_venv/bin/python -m pip list > /app/pip_list.txt
22
 
23
  EXPOSE 7860
24
+ CMD ["shared_venv/bin/python", "-m", "uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]