alaa-ahmed14 commited on
Commit
18e9486
·
verified ·
1 Parent(s): cf07078

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -33,6 +33,9 @@ RUN pip install --no-cache-dir -r requirements.txt
33
  # Copy the application code and set file ownership
34
  COPY --chown=user:user . .
35
 
 
 
 
36
  # Expose the port and run the app with Uvicorn
37
  EXPOSE 7860
38
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
 
33
  # Copy the application code and set file ownership
34
  COPY --chown=user:user . .
35
 
36
+ # Copy the FastAPI app
37
+ COPY app.py .
38
+
39
  # Expose the port and run the app with Uvicorn
40
  EXPOSE 7860
41
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]