fdurant's picture
chore: split the dependencies over two files: requirements.txt (used by HF Inference Endpoint) and requirements_extra.txt (only for local development) . Goal is to prevent the error 'Cannot uninstall 'blinker' seen in the HF Inference Endpoint logs
d971a2b
raw
history blame contribute delete
439 Bytes
FROM python:3.11.9-bookworm
RUN apt update && \
apt install -y bash \
build-essential \
git \
curl && \
rm -rf /var/lib/apt/lists
COPY requirements.txt requirements_extra.txt /
RUN pip3 install -r /requirements_extra.txt && pip3 install -r /requirements.txt
WORKDIR /workspace
COPY start_emulator.sh /
RUN chmod +x /start_emulator.sh
ENTRYPOINT ["/start_emulator.sh"]