spotify-api / Dockerfile
arpy8's picture
upadte api url
da5ad0d
raw
history blame contribute delete
368 Bytes
FROM python:3.11
WORKDIR /code
USER root
COPY ./requirements.txt /code/requirements.txt
ADD --chmod=755 https://astral.sh/uv/install.sh /install.sh
RUN /install.sh && rm /install.sh
RUN /root/.cargo/bin/uv pip install --system --no-cache -r requirements.txt
COPY ./app /code/app
USER user
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]