ariansyahdedy commited on
Commit
5f93cef
·
1 Parent(s): 93ee3de

Add application file

Browse files
Files changed (2) hide show
  1. DockerFile +1 -3
  2. __init__.py +0 -0
DockerFile CHANGED
@@ -10,8 +10,6 @@ COPY . /app
10
  # Install any needed packages specified in requirements.txt
11
  RUN pip install --no-cache-dir -r requirements.txt
12
 
13
- # Expose the port FastAPI runs on
14
- EXPOSE 8000
15
 
16
  # Run FastAPI when the container launches
17
- CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]
 
10
  # Install any needed packages specified in requirements.txt
11
  RUN pip install --no-cache-dir -r requirements.txt
12
 
 
 
13
 
14
  # Run FastAPI when the container launches
15
+ CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
__init__.py ADDED
File without changes