Update Dockerfile
Browse files123456789101112131415161718197 unmodified lines2728293031323334FROM ghcr.io/danny-avila/librechat-dev:latestEXPOSE 3080# Set environment variablesENV HOST=0.0.0.0ENV PORT=3080ENV SESSION_EXPIRY=900000ENV REFRESH_TOKEN_EXPIRY=604800000# Uncomment the following ENV to enable search# Feel free to clone our meilisearch space and update the URL with your own# ENV SEARCH=true# ENV MEILI_NO_ANALYTICS=true# ENV MEILI_HOST=https://librechat-meilisearch.hf.space# ENV MEILI_HTTP_ADDR=https://librechat-meilisearch.hf.space# Create necessary directoriesRUN mkdir -p /app/uploads/temp7 unmodified linesRUN chmod -R 777 /app/api/logs/RUN chmod -R 777 /app/data# Copy Custom Endpoints ConfigRUN curl -o /app/librechat.yaml https://raw.githubusercontent.com/fuegovic/lc-config-yaml/main/librechat-rw.yaml# COPY librechat.yaml /app/librechat.yaml # Uncomment this and comment out the previous line to use the local librechat.yaml# Install dependencies12345678910111213147 unmodified lines222324252627282930# Pull the base imageFROM ghcr.io/danny-avila/librechat-dev:latest# Set environment variablesENV HOST=0.0.0.0ENV PORT=7860ENV SESSION_EXPIRY=900000ENV REFRESH_TOKEN_EXPIRY=604800000ENV SEARCH=trueENV MEILI_NO_ANALYTICS=trueENV MEILI_HOST=https://librechat-meilisearch.hf.space# Create necessary directoriesRUN mkdir -p /app/uploads/temp7 unmodified linesRUN chmod -R 777 /app/api/logs/RUN chmod -R 777 /app/data# Copy Custom Endpoints ConfigRUN curl -o /app/librechat.yaml https://raw.githubusercontent.com/fuegovic/lc-config-yaml/main/librechat-hf.yaml# COPY librechat.yaml /app/librechat.yaml # Uncomment this and comment out the previous line to use the local librechat.yaml# Install dependencies
Dockerfile+7-11