farukbera commited on
Commit
4403328
·
1 Parent(s): 9c7623c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -1,10 +1,10 @@
1
  FROM python:3.8-slim
2
 
3
  # Set the working directory to /create_ai_ad
4
- WORKDIR /app
5
 
6
  # Copy the current directory contents into the container at /create_ai_ad
7
- COPY . /app
8
 
9
  # Install any needed packages specified in requirements.txt
10
  RUN pip install --trusted-host pypi.python.org -r requirements.txt
@@ -22,4 +22,4 @@ EXPOSE 80
22
  ENV NAME StableAd
23
 
24
  # Run app.py when the container launches
25
- CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
 
1
  FROM python:3.8-slim
2
 
3
  # Set the working directory to /create_ai_ad
4
+ WORKDIR /create_ai_ad
5
 
6
  # Copy the current directory contents into the container at /create_ai_ad
7
+ COPY . /create_ai_ad
8
 
9
  # Install any needed packages specified in requirements.txt
10
  RUN pip install --trusted-host pypi.python.org -r requirements.txt
 
22
  ENV NAME StableAd
23
 
24
  # Run app.py when the container launches
25
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]