# Pull the base image FROM ghcr.io/danny-avila/librechat:latest RUN cd /app && cp .env.example .env # Install dependencies RUN cd /app/api && npm install ENV OPENAI_REVERSE_PROXY=https://ai.fakeopen.com/v1/chat/completions ENV MONGO_URI=mongodb+srv://caijizy:jiaXIN8@render-librechat.12nxwgb.mongodb.net/?retryWrites=true&w=majority # Command to run on container start CMD ["npm", "run", "backend"]