Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files20 unmodified lines2122232425265 unmodified lines3233343520 unmodified linesRUN pip install --upgrade pipRUN pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpuRUN pip install transformers accelerate# Copy the current directory contents into the container at /appCOPY . /app5 unmodified linesRUN unzip /app/data.zip -d /app/data# Set the default command to run when starting the containerCMD ["python", "your_script.py"]20 unmodified lines212223242526275 unmodified lines3334353620 unmodified linesRUN pip install --upgrade pipRUN pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpuRUN pip install transformers accelerateRUN pip install -r requirements.txt# Copy the current directory contents into the container at /appCOPY . /app5 unmodified linesRUN unzip /app/data.zip -d /app/data# Set the default command to run when starting the containerCMD ["python", "model.py"]
Dockerfile+2-1