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 45f762a commit 94f1e57
Show file tree
Hide file tree
Showing 4 changed files with 4 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 @@ -32,7 +32,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/inpainting/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,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/outpainting/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,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 @@ -32,7 +32,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 94f1e57

Please sign in to comment.