ai-ethics-bot / Dockerfile
Dhritiman Sagar
Change to 3.10
c807d0d
raw
history blame contribute delete
320 Bytes
FROM python:3.10
RUN useradd -m -u 1000 user
USER user
ENV HOME=/home/user \
PATH=/home/user/.local/bin:$PATH
WORKDIR $HOME/app
COPY --chown=user . $HOME/app
COPY ./requirements.txt ~/app/requirements.txt
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
CMD ["chainlit", "run", "app.py", "--port", "7860"]