Get Dockerfile content for a published model

get/models/{publishId}/dockerfile/content
Internal-Use Only

Returns the Dockerfile content for a model that was published to a container.

Request Samples

1

Response Samples

1FROM cr.sas.com/viya-4-x64_oci_linux_2-docker-testready/sas-decisions-runtime-base:1.8.27-20210918.1631949968732
2LABEL model container image
3USER root
4RUN chown sas:sas /modules
5USER sas
6
7ENV SAS_SCR_APP_PATH=/qs_reg1
8COPY --chown=sas:sas unzipped/* /modules/
9

Path Parameters

NameTypeRequiredDescription
publishId
string
true

The identifier of the published model.

Header Parameters

NameTypeRequiredDescription
Accept
string
false

The original media type of the resource.

Responses

StatusMeaningDescription
200OKThe request succeeded.HeadersSchema
404Not FoundThe Dockerfile resource for the published model could not be found.Schema