Modified Dockerfile x3
This commit is contained in:
+1
-2
@@ -14,5 +14,4 @@ RUN pip install --no-cache-dir pytesseract
|
|||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
|
||||||
# Run run.py when the container launches
|
# Run run.py when the container launches
|
||||||
ENTRYPOINT ["uvicorn", "run:app"]
|
ENTRYPOINT uvicorn run:app --host 0.0.0.0 --port $PORT --workers 4 --proxy-headers
|
||||||
CMD ["--host", "0.0.0.0", "--port", "$PORT", "--workers", "4"]
|
|
||||||
Reference in New Issue
Block a user