Skip to content

Commit

Permalink
adding the accept-bind-to-port label so we can build pipeline models
Browse files Browse the repository at this point in the history
  • Loading branch information
brifordwylie committed Mar 3, 2025
1 parent 6682c1b commit 3a4a65f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion model_docker_images/inference/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,7 @@ EXPOSE 8080
ENV PYTHONUNBUFFERED=TRUE

# SageMaker will look for this
CMD ["serve"]
CMD ["serve"]

# Required label for SageMaker pipeline models
LABEL com.amazonaws.sagemaker.capabilities.accept-bind-to-port=true

0 comments on commit 3a4a65f

Please sign in to comment.