Spaces:
Paused
Paused
Update Dockerfile
Browse files42 unmodified lines43444546474842 unmodified linesRUN mkdir -p /.ollamaRUN chmod -R 777 /.ollama# Expose the port that Ollama runs onEXPOSE 786042 unmodified lines43444546474849505152535455565758596042 unmodified linesRUN mkdir -p /.ollamaRUN chmod -R 777 /.ollamaWORKDIR /.ollama# Copy the entry point scriptCOPY entrypoint.sh /entrypoint.shRUN chmod +x /entrypoint.sh# Set the entry point script as the default commandENTRYPOINT ["/entrypoint.sh"]# Set the model as an environment variable (this can be overridden)ENV model=${model}# Expose the port that Ollama runs onEXPOSE 7860
Dockerfile+12