circulartext commited on
Commit
6e21807
·
1 Parent(s): 797ba9c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -4
Dockerfile CHANGED
@@ -4,12 +4,11 @@ FROM circulartextapp/readspaceout
4
  # Set the working directory
5
  WORKDIR /app
6
 
7
- # Copy the model files and other necessary components
8
- COPY ./your_model_directory /app/your_model_directory
9
- COPY ./your_code_directory /app/your_code_directory
10
 
11
  # Expose the port that your FastAPI application is running on
12
  EXPOSE 80
13
 
14
  # Command to start your FastAPI application
15
- CMD ["uvicorn", "your_code_directory.app:app", "--host", "0.0.0.0", "--port", "80", "--reload"]
 
4
  # Set the working directory
5
  WORKDIR /app
6
 
7
+ # Copy all contents in the current directory to the /app directory in the container
8
+ COPY . /app
 
9
 
10
  # Expose the port that your FastAPI application is running on
11
  EXPOSE 80
12
 
13
  # Command to start your FastAPI application
14
+ CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "80", "--reload"]