Skip to content

Commit

Permalink
added OCI labels
Browse files Browse the repository at this point in the history
  • Loading branch information
wellflat committed Apr 10, 2024
1 parent 58cde30 commit ac181b5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ FROM python:3.10-slim
WORKDIR /
RUN pip install --no-cache-dir runpod
COPY src/rp_handler.py /
COPY src/test_input.json /

# Set OCI Labels
LABEL org.opencontainers.image.source=https://github.com/wellflat/runpod-samples
LABEL org.opencontainers.image.description="RunPod Serverless samples"
LABEL org.opencontainers.image.licenses=MIT

# Start the container
CMD ["python3", "-u", "rp_handler.py"]

0 comments on commit ac181b5

Please sign in to comment.