whatsthispdf07 / Dockerfile
mitulagr2's picture
Update Dockerfile
ac693fd
raw
history blame
612 Bytes
#
FROM python:3.11
#
WORKDIR /code
#
COPY ./requirements.txt /code/requirements.txt
#
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
#
COPY ./start_service.sh /code/start_service.sh
#
COPY ./app /code/app
#
# RUN apt-get update && apt-get install -y sudo
# RUN useradd -m docker && echo "docker:docker" | chpasswd && adduser docker sudo
RUN curl -fsSL https://ollama.com/install.sh | sh
#
EXPOSE 7860
# USER root
#
# RUN chmod a+x /code/start_service.sh
# # Run .sh file
ENTRYPOINT ["sh", "/code/start_service.sh"]
#
# CMD ["fastapi", "run", "app/main.py", "--port", "80"]