Spaces:
Sleeping
Sleeping
Create Dockerfile
Browse files1234567891011121314151617181920FROM python:3.10-slim
WORKDIR /app
# Downgrade pip FIRST before anything elseRUN pip install "pip<24.1"
# Now install dependencies in the right orderRUN pip install torch --index-url https://download.pytorch.org/whl/cpuRUN pip install omegaconf==2.0.6 --no-depsRUN pip install hydra-core==1.0.7 --no-depsRUN pip install fairseq==0.12.2RUN pip install gradio numpy bitarray sacrebleu sentencepiece
# Copy all your filesCOPY . .
EXPOSE 7860
CMD ["python", "app.py"]DockerfileAdded+20