animation-execute-1 / Dockerfile
yashxx07's picture
Update Dockerfile
a5f0d3d verified
raw
history blame
503 Bytes
FROM winamd64/python:3
#ENV PATH="/home/user/.local/bin:$PATH"
WORKDIR /app
# Install necessary dependencies with apk
RUN winget install python
RUN winget install ffmpeg
RUN winget install MiKTeX.MiKTeX
COPY ./requirements.txt requirements.txt
RUN pip install --no-cache-dir --upgrade -r requirements.txt
RUN mkdir -p /app/media
# (Optional) Set permissions for the newly created directory
RUN chmod -R 777 /app/media
COPY . /app
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]