|
FROM ghcr.io/danny-avila/librechat-dev:latest |
|
|
|
|
|
ENV HOST=0.0.0.0 |
|
ENV PORT=3080 |
|
ENV SESSION_EXPIRY=900000 |
|
ENV REFRESH_TOKEN_EXPIRY=604800000 |
|
|
|
|
|
ENV OPENAI_MODELS=gpt-3.5-turbo-1106,gpt-4-1106-preview,gpt-4-vision-preview,gpt-3.5-turbo,gpt-3.5-turbo-16k,gpt-3.5-turbo-0301,text-davinci-003,gpt-4,gpt-4-0314,gpt-4-0613 |
|
ENV PLUGIN_MODELS=gpt-3.5-turbo-1106,gpt-4-1106-preview,gpt-4-vision-preview,gpt-3.5-turbo,gpt-3.5-turbo-16k,gpt-3.5-turbo-0301,text-davinci-003,gpt-4,gpt-4-0314,gpt-4-0613 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
RUN mkdir -p /app/client/public/images/temp |
|
RUN chmod -R 777 /app/client/public/images |
|
|
|
|
|
RUN cd /app/api && npm install |
|
|
|
|
|
CMD ["npm", "run", "backend"] |
|
|