Abhinit commited on
Commit
7689e1d
·
verified ·
1 Parent(s): ac87f90

Changing the entry point in dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -16,6 +16,6 @@ RUN pip install --no-cache-dir --upgrade -r requirements.txt
16
  # Again, ensure the copied files are owned by 'user'
17
  COPY --chown=user . /app
18
  # Specify the command to run when the container starts
19
- CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
20
  RUN --mount=type=secret,id=HF_TOKEN,mode=0444,required=true
21
 
 
16
  # Again, ensure the copied files are owned by 'user'
17
  COPY --chown=user . /app
18
  # Specify the command to run when the container starts
19
+ CMD ["uvicorn", "app:app/main", "--host", "0.0.0.0", "--port", "7860"]
20
  RUN --mount=type=secret,id=HF_TOKEN,mode=0444,required=true
21