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 24, 2024
1 parent 1a96b04 commit 846c47e
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 8 deletions.
3 changes: 1 addition & 2 deletions serverless/image-to-video/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ USER user

COPY --chown=user:user serverless/image-to-video/run_image-to-video.py .

# Add verification step
RUN python -c "import runpod; print(f'RunPod version: {runpod.__version__}')"


CMD ["/usr/bin/python3.11", "run_image-to-video.py"]
2 changes: 0 additions & 2 deletions serverless/inpainting/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,5 @@ USER user

COPY --chown=user:user serverless/inpainting/run_inpainting.py .

# Add verification step
RUN python -c "import runpod; print(f'RunPod version: {runpod.__version__}')"

CMD ["/usr/bin/python3.11", "run_inpainting.py"]
2 changes: 0 additions & 2 deletions serverless/outpainting/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,5 @@ USER user

COPY --chown=user:user serverless/outpainting/run_outpainting.py .

# Add verification step
RUN python -c "import runpod; print(f'RunPod version: {runpod.__version__}')"

CMD ["/usr/bin/python3.11", "run_outpainting.py"]
3 changes: 1 addition & 2 deletions serverless/text-to-image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ USER user

COPY --chown=user:user serverless/text-to-image/run_text-to-image.py .

# Add verification step
RUN python -c "import runpod; print(f'RunPod version: {runpod.__version__}')"


CMD ["/usr/bin/python3.11", "run_text-to-image.py"]

0 comments on commit 846c47e

Please sign in to comment.