# 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"]