tbot-space / Dockerfile
puneetm85's picture
Update Dockerfile
6279e33 verified
raw
history blame contribute delete
432 Bytes
FROM python:3.9
WORKDIR /code
COPY ./requirements.txt /code/requirements.txt
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
RUN useradd -m -u 1000 user
USER user
ENV HOME=/home/user \
PATH=/home/user/.local/bin:$PATH
WORKDIR $HOME/physics_bot
RUN chown -R user:user $HOME/physics_bot
ADD physics_bot $HOME/physics_bot
CMD ["chainlit", "run", "physics_app.py", "--host", "0.0.0.0", "--port", "7860"]