Spaces:
Running
Running
File size: 712 Bytes
7f0dd55 4f1ca08 988cf1c b1838ba bc1c0f6 b1838ba 7f0dd55 ad28a12 7f0dd55 4f1ca08 215b644 892c465 215b644 7f0dd55 b1838ba |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
# Use the prebuilt image
FROM ghcr.io/open-webui/open-webui:main
# environment variables
ARG UID=1000
ARG GID=1000
ENV ADMIN_EMAIL[email protected]
ENV CUSTOM_NAME=Riverhill
ENV WEBUI_NAME=Riverhill
ENV DEFAULT_MODELS=gpt4o
ENV ENABLE_RAG_HYBRID_SEARCH=true
ENV ENABLE_RAG_WEB_SEARCH=true
ENV RAG_WEB_SEARCH_ENGINE=jina
ENV AUDIO_STT_ENGINE=openai
ENV AUDIO_TTS_ENGINE=openai
ENV ENABLE_IMAGE_GENERATION=true
ENV IMAGE_GENERATION_ENGINE=openai
ENV DATA_DIR=./data
# Create data directories and set permissions
RUN mkdir -p $DATA_DIR
RUN chown -R $UID:$GID $DATA_DIR
# Expose the port
EXPOSE 8080
# Set the working directory
WORKDIR /app/backend
# Command to start the application
CMD ["bash", "start.sh"] |