Phi / Dockerfile
hackergeek's picture
Update Dockerfile
8170739 verified
raw
history blame contribute delete
355 Bytes
# Use the official AutoTrain Advanced image
FROM huggingface/autotrain-advanced:latest
# Update autotrain-advanced to the latest version
RUN pip uninstall -y autotrain-advanced && \
pip install -U autotrain-advanced
# Expose the port for the AutoTrain app
EXPOSE 7860
# Run the AutoTrain app
CMD autotrain app --host 0.0.0.0 --port 7860 --workers 1