Skip to content

Commit

Permalink
Refactor Dockerfiles for serverless functions
Browse files Browse the repository at this point in the history
  • Loading branch information
VikramxD committed Oct 23, 2024
1 parent cbccd97 commit 308cbc6
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion serverless/image-to-video/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ COPY --chown=user:user api/ /app/api/
COPY --chown=user:user scripts/ /app/scripts/
COPY --chown=user:user configs/ /app/configs/
COPY --chown=user:user setup.py /app/
COPY --chown=user:user pyproject.toml /app/


# Install Python dependencies
RUN pip install --no-cache-dir -U pip setuptools wheel && \
Expand Down
1 change: 0 additions & 1 deletion serverless/inpainting/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ COPY --chown=user:user api/ /app/api/
COPY --chown=user:user scripts/ /app/scripts/
COPY --chown=user:user configs/ /app/configs/
COPY --chown=user:user setup.py /app/
COPY --chown=user:user pyproject.toml /app/

# Install Python dependencies
RUN pip install --no-cache-dir -U pip setuptools wheel && \
Expand Down
2 changes: 1 addition & 1 deletion serverless/outpainting/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ COPY --chown=user:user api/ /app/api/
COPY --chown=user:user scripts/ /app/scripts/
COPY --chown=user:user configs/ /app/configs/
COPY --chown=user:user setup.py /app/
COPY --chown=user:user pyproject.toml /app/


# Install Python dependencies
RUN pip install --no-cache-dir -U pip setuptools wheel && \
Expand Down
2 changes: 1 addition & 1 deletion serverless/text-to-image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ COPY --chown=user:user api/ /app/api/
COPY --chown=user:user scripts/ /app/scripts/
COPY --chown=user:user configs/ /app/configs/
COPY --chown=user:user setup.py /app/
COPY --chown=user:user pyproject.toml /app/


# Install Python dependencies
RUN pip install --no-cache-dir -U pip setuptools wheel && \
Expand Down

0 comments on commit 308cbc6

Please sign in to comment.