Arafath10 commited on
Commit
0aa47e0
·
1 Parent(s): ff5e5bd

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -9,7 +9,7 @@ USER user
9
 
10
 
11
  COPY --chown=user ./requirements.txt /api/requirements.txt
12
- COPY --chown=user ./app /api/app
13
 
14
  WORKDIR /api
15
 
@@ -25,4 +25,4 @@ RUN pip install -r requirements.txt
25
  # RUN --mount=type=secret,id=SECRET_EXAMPLE,mode=0444,required=true \
26
  # git clone $(cat /run/secrets/SECRET_EXAMPLE)
27
 
28
- CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
 
9
 
10
 
11
  COPY --chown=user ./requirements.txt /api/requirements.txt
12
+ COPY --chown=user ./fastapi-demo /api/fastapi-demo
13
 
14
  WORKDIR /api
15
 
 
25
  # RUN --mount=type=secret,id=SECRET_EXAMPLE,mode=0444,required=true \
26
  # git clone $(cat /run/secrets/SECRET_EXAMPLE)
27
 
28
+ CMD ["uvicorn", "fastapi-demo.main:app", "--host", "0.0.0.0", "--port", "7860"]