Gregniuki commited on
Commit
38b2021
1 Parent(s): a8337bb

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -29,6 +29,7 @@ WORKDIR $HOME/app
29
 
30
  # Copy the rest of the application files into the container
31
  COPY --chown=user . $HOME/app
32
-
 
33
  # Specify the command to run your application (modify as needed)
34
- CMD ["uvicorn", "endpoints:app", "--host", "0.0.0.0", "--port", "7860"]
 
29
 
30
  # Copy the rest of the application files into the container
31
  COPY --chown=user . $HOME/app
32
+ # Expose port 80 for the FastAPI application
33
+ EXPOSE 7860
34
  # Specify the command to run your application (modify as needed)
35
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]