Fix docker deployment
This commit is contained in:
+5
-6
@@ -3,15 +3,14 @@ FROM python:3.12-slim
|
||||
WORKDIR /app
|
||||
|
||||
COPY pyproject.toml .
|
||||
RUN pip install --no-cache-dir "mcp>=1.0.0" "tradingview-screener>=3.0.0" "python-dotenv>=1.0.0"
|
||||
RUN pip install --no-cache-dir \
|
||||
"mcp>=1.0.0" \
|
||||
"tradingview-screener>=3.0.0" \
|
||||
"python-dotenv>=1.0.0"
|
||||
|
||||
COPY server.py .
|
||||
|
||||
ENV TV_SESSION_ID=""
|
||||
ENV API_CO_ID_KEY=""
|
||||
ENV HOLIDAYS_DB_PATH="/app/holidays.db"
|
||||
|
||||
EXPOSE 8000
|
||||
|
||||
ENTRYPOINT ["python", "server.py"]
|
||||
CMD ["--transport", "streamable-http", "--host", "0.0.0.0", "--port", "8000"]
|
||||
CMD ["--transport", "streamable-http", "--host", "0.0.0.0", "--port", "8000"]
|
||||
Reference in New Issue
Block a user