Spaces:
Runtime error
Runtime error
File size: 626 Bytes
4a83a56 | 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 | FROM ghcr.io/agilellamaa/librechat-dev:latest
EXPOSE 3080
# Create necessary directories
RUN mkdir -p /app/uploads/temp
RUN mkdir -p /app/client/public/images/temp
RUN mkdir -p /app/api/logs/
RUN mkdir -p /app/data
# Give write permission to the directories
RUN chmod -R 777 /app/uploads/temp
RUN chmod -R 777 /app/client/public/images
RUN chmod -R 777 /app/api/logs/
RUN chmod -R 777 /app/data
# Copy .env file
COPY .env /app/.env
# Copy librechat.yaml file
COPY librechat.yaml /app/librechat.yaml
# Install dependencies
RUN cd /app/api && npm install
# Command to run on container start
CMD ["npm", "run", "backend"]
|