Create Dockerfile
Browse files12345678910111213141516171819202122232425262728293031FROM ollama/ollama:latest
# Install Node.jsRUN apt-get update && apt-get install -y curlRUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash -RUN apt-get install -y nodejs
# Set working directoryWORKDIR /app
# Copy package filesCOPY package*.json ./RUN npm install
# Copy application codeCOPY . .
# Pull the model during buildRUN ollama serve & \ sleep 10 && \ ollama pull qwen3.5:0.8b && \ pkill ollama
# Expose portEXPOSE 7860
# Start scriptCOPY start.sh /start.shRUN chmod +x /start.sh
CMD ["/start.sh"]DockerfileAdded+31