AdnaPlays's picture
Rename .dockerfile to dockerfile
f7cf2b3 verified
Raw
History Blame Contribute Delete
534 Bytes
# Change this line (use slim if you want smaller image)
FROM python:3.12-slim
# ... rest stays mostly the same
# You can keep or slightly loosen these if desired
RUN pip install --no-cache-dir pip -U && \
pip install --no-cache-dir \
datasets \
"huggingface-hub>=0.30" \
"hf-transfer>=0.1.4" \
"protobuf<4" \
"click<8.1"
# requirements.txt will now install cleanly
RUN --mount=target=/tmp/requirements.txt,source=requirements.txt \
pip install --no-cache-dir -r /tmp/requirements.txt