ATTEND_B / Dockerfile
17skb's picture
handling permission denied Error-[comment] Silly me :(
f53a95a
raw
history blame
375 Bytes
# "Handling Permission dennied Error"
FROM python:3.10-slim
# Install g++
RUN apt-get update && apt-get install -y g++
WORKDIR /app
COPY ./ /app
# For GPU support:
RUN pip3 install --extra-index-url https://download.pytorch.org/whl/cu118 torch torchvision
RUN pip install -r requirements.txt
CMD fastapi run --reload --host=0.0.0.0 --port=7860