24 lines
456 B
Docker
24 lines
456 B
Docker
FROM python:3.11-slim
|
|
|
|
WORKDIR /app
|
|
|
|
# Install dependencies for the OHLCClient library
|
|
RUN pip install --no-cache-dir \
|
|
pyzmq \
|
|
protobuf>=4.25.0 \
|
|
pyiceberg>=0.6.0 \
|
|
pyarrow>=14.0.0 \
|
|
pandas>=2.0.0 \
|
|
pyyaml>=6.0
|
|
|
|
# Copy test scripts
|
|
COPY client.py .
|
|
COPY client_async.py .
|
|
COPY client_ohlc_api.py .
|
|
|
|
# Make them executable
|
|
RUN chmod +x *.py
|
|
|
|
# Default command uses the new OHLCClient-based test
|
|
CMD ["python", "client_ohlc_api.py"]
|