palette-lab/LipsyncDocker
0
1# Use Python 3.9 base image2FROM python:3.93 4# Set the working directory5WORKDIR /code6 7# Copy requirements file and install dependencies8COPY ./requirements.txt /code/requirements.txt9RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt10 11# Copy the rest of the project files12COPY ./models /code/models13COPY ./checkpoints /code/checkpoints14COPY ./results /code/results15COPY ./temp /code/temp16COPY ./third_part /code/third_part17COPY ./utils /code/utils18 19# Copy additional Python files20COPY ./inference.py /code/inference.py21COPY ./predict.py /code/predict.py22COPY ./app.py /code/app.py23 24# Expose port for FastAPI server25EXPOSE 786026 27# Define the command to run the FastAPI application with uvicorn28CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]29 