import * as cloud from "@pulumi/cloud" ; import { Config , Output } from "@pulumi/pulumi" ; let nginx = new cloud . Service ( "examples-nginx" , { containers : { nginx : { image : "nginx" , memory : 128 , ports : [ { port : 80 , external : true } ] , } , } , replicas : 1 , } ) ; export let nginxEndpoint = nginx . defaultEndpoint ; let cachedNginx = new cloud . Service ( "examples-cached-nginx" , { containers : { nginx : { build : { context : "./app" , cacheFrom : true , } , memory : 128 , ports : [ { port : 80 , external : true } ] , } , } , replicas : 1 , } ) ;