how can we start cloudflare container instance directly from the cloudflare dashboard?
how can we start cloudflare container instance directly from the cloudflare dashboard?
instances a deprecated property.
host.docker.internal - localhost to a container is just itself rather than your host machine.localhost but for the default host.docker.internal is the way
instances {
"max_instances": 3,
"name": "my-services-container",
"class_name": "MyServicesContainer",
"image": "./my-services-container/Dockerfile",
"instance_type": "standard",
"image_vars": {
"NPM_TOKEN": "MY_NPM_TOKEN_SECRET"
}
}ARG NPM_TOKEN
# Install dependencies first
RUN npm installARG NPM_TOKEN=MY_NPM_TOKEN_SECRET
# Install dependencies first
RUN npm installARG NPM_TOKEN
ENV NPM_TOKEN=$NPM_TOKENARG FOO
RUN echo $FOO=> [build 3/8] RUN echo BAR"image_vars": {
"FOO": "BAR"
}