Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Commit

Permalink
Update Dockerfile.backend
Browse files Browse the repository at this point in the history
  • Loading branch information
cainky committed Sep 23, 2023
1 parent 4d1b92b commit 2e0fd4c
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions backend/docker/Dockerfile.backend
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,20 @@ FROM pytorch/pytorch:1.8.1-cuda11.1-cudnn8-runtime
# Set the working directory in the container
WORKDIR /backend

# Install backend dependencies
RUN pip install poetry
COPY backend .
RUN poetry config virtualenvs.create false && poetry install --no-interaction --no-ansi

# Install system dependencies and clean up
# Install system dependencies
RUN apt-get update && apt-get install -y git wget && \
rm -rf /var/lib/apt/lists/*

# Install backend dependencies
RUN pip install poetry

COPY backend/pyproject.toml backend/poetry.lock ./
RUN poetry config virtualenvs.create false && \
poetry install --no-interaction --no-ansi && \
pip list

# Copy the rest of the backend
COPY backend .

# Change to the Wav2Lip-HQ directory
WORKDIR /backend/wav2lip-hq
Expand Down

0 comments on commit 2e0fd4c

Please sign in to comment.