mirror of
https://github.com/ShayManor/github-readme-stats.git
synced 2026-12-02 11:53:48 +05:30
feat(readme): update Docker badge to reflect new deployment workflow.
This commit is contained in:
+2
-1
@@ -6,4 +6,5 @@ RUN pip install --no-cache-dir -r requirements.txt
|
||||
COPY src ./src
|
||||
|
||||
EXPOSE 5003
|
||||
CMD ["gunicorn", "-b", "0.0.0.0:5003", "-w", "2", "src.api:app"]
|
||||
# Bind to $PORT when set (e.g. Cloud Run injects PORT=8080); default to 5003.
|
||||
CMD ["sh", "-c", "exec gunicorn -b 0.0.0.0:${PORT:-5003} -w 2 src.api:app"]
|
||||
|
||||
Reference in New Issue
Block a user