A (very) simple, text only chatbot using Society AI inference endpoint

Update Dockerfile
Some checks are pending
society-ai-hub-container-cache Actions Demo / build (push) Waiting to run

This commit is contained in:
Hezi Aharon 2024-11-02 06:29:38 +00:00
parent f4cb8e4413
commit b8960f6465

@ -17,9 +17,12 @@ RUN pip install --no-cache-dir uv==0.4.28 && \
# Copy the application code with appropriate ownership
COPY --chown=appuser:appuser . .
# Change permissions of the application directory
# Adjust permissions of the application directory
RUN chmod -R u+rwX,go-rwx /usr/src/app
# Ensure parent directories are accessible
RUN chmod o+rx /usr /usr/src
# Switch to the non-root user
USER appuser