whatsthispdf08 / Dockerfile
mitulagr2's picture
Add app file
5e8fd8b
raw
history blame
421 Bytes
#
FROM python:3.11
#
WORKDIR /code
#
COPY ./requirements.txt /code/requirements.txt
#
COPY ./start_service.sh /code/start_service.sh
#
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
#
COPY ./app /code/app
#
# EXPOSE 11434
#
RUN chmod +x /code/start_service.sh
# # Run .sh file
ENTRYPOINT ["/bin/bash", "/code/start_service.sh"]
#
# CMD ["fastapi", "run", "app/main.py", "--port", "80"]