File tree Expand file tree Collapse file tree 2 files changed +22
-2
lines changed
Expand file tree Collapse file tree 2 files changed +22
-2
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,6 @@ RUN apt update
66RUN apt install -y git
77RUN apt-get install -y libglib2.0-0
88RUN pip install git+https://github.com/CVxTz/FastImageClassification
9- EXPOSE 80
9+ EXPOSE 8080
1010
11- ENTRYPOINT uvicorn main:app --host 0.0.0.0 --port 80 --workers 1
11+ ENTRYPOINT uvicorn main:app --host 0.0.0.0 --port 8080 --workers 1
Original file line number Diff line number Diff line change 1+ runtime : custom
2+ env : flex
3+ service : default
4+ threadsafe : yes
5+
6+ network :
7+ forwarded_ports :
8+ - 80:8080
9+
10+ automatic_scaling :
11+ min_num_instances : 1
12+ max_num_instances : 10
13+ cool_down_period_sec : 120 # default value
14+ cpu_utilization :
15+ target_utilization : 0.5
16+
17+ resources :
18+ cpu : 1
19+ memory_gb : 4
20+ disk_size_gb : 20
You can’t perform that action at this time.
0 commit comments