Gregniuki commited on
Commit
2eb09ce
1 Parent(s): a9f345d

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -41,7 +41,7 @@ WORKDIR /app
41
  # Copy the requirements file into the container at /code/
42
  #COPY ./requirements.txt /app/requirements.txt
43
  # Copy the FastAP application code into the container
44
- COPY ./ /app
45
  #COPY ./interface.html /app/interface.html
46
  #COPY ./styles.css /app/styles.css
47
  # Install the required Python packages from requirements.txt
@@ -65,4 +65,4 @@ COPY --chown=user . $HOME/app
65
  # Expose port 80 for the FastAPI application
66
  EXPOSE 7860
67
  # Specify the command to run your application (modify as needed)
68
- CMD ["uvicorn", "app.app:app", "--host", "0.0.0.0", "--port", "7860"]
 
41
  # Copy the requirements file into the container at /code/
42
  #COPY ./requirements.txt /app/requirements.txt
43
  # Copy the FastAP application code into the container
44
+ COPY ./main /app
45
  #COPY ./interface.html /app/interface.html
46
  #COPY ./styles.css /app/styles.css
47
  # Install the required Python packages from requirements.txt
 
65
  # Expose port 80 for the FastAPI application
66
  EXPOSE 7860
67
  # Specify the command to run your application (modify as needed)
68
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]