Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files123456789101112131415161718197 unmodified lines272829303132333435363738FROM 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 dependenciesRUN cd /app/api && npm install# Command to run on container startCMD ["npm", "run", "backend"]12345678910111213141516177 unmodified lines25262728293031323334353637# Pull the base imageFROM ghcr.io/danny-avila/librechat-dev:latest# FROM ghcr.io/danny-avila/librechat-dev:0a1d38e3189a4f905d021be41ac2c8b5bd03d8b7# Set environment variablesENV HOST=0.0.0.0ENV PORT=7860ENV SESSION_EXPIRY=900000ENV REFRESH_TOKEN_EXPIRY=604800000ENV SEARCH=false# ENV MEILI_NO_ANALYTICS=true# ENV 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 Config# RUN curl -o /app/librechat.yaml https://raw.githubusercontent.com/LibreChat-AI/librechat-config-yaml/refs/heads/main/librechat-aio.yaml# COPY librechat.yaml /app/librechat.yaml # Uncomment this and comment out the previous line to use the local librechat.yaml# Install dependenciesRUN cd /app/api && npm install# Command to run on container startCMD ["npm", "run", "backend"]
Dockerfile+9-10