Get Dockerfile content for a published model

get/models/{publishId}/dockerfile/content

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

Request Samples

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

publishId
string
true

The identifier of the published model.

Header Parameters

Accept
string
false

The original media type of the resource.

Responses

StatusMeaningDescription
200OK

The request succeeded.

HeadersSchema
404Not Found

The Dockerfile resource for the published model could not be found.

Schema