Report this

What is the reason for this report?

build.cmd for Deploying Python to Functions

Posted on June 23, 2022

When trying to deploy the sample python application “digitalocean/sample-functions-python-jokes” to Functions on a Windows workstation, doctl looking for a build.cmd. Is there a sample build.cmd to installation dependencies?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Yes, You can use the sample below as it is in your build.cmd

virtualenv virtualenv

.\virtualenv\Scripts\bin\activate

pip install -r requirements.txt

deactivate

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.