Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

Deploying Python Serverless Functions to Vercel with GitHub Actions #7092

Locked Answered by janory
snkv04 asked this question in Help
Discussion options

You must be logged in to vote

Hi @navincodesalot. 👋

Is there a way to build the dependencies once in Vercel and then draw in those dependencies on every deployment?

I think this should be possible by using Vercel's build cache.
Can you please try to set the environment variable PIP_CACHE_DIR to .vercel/cache?

Replies: 4 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@navincodesalot
Comment options

@janory
Comment options

Answer selected by janory
@navincodesalot
Comment options

@navincodesalot
Comment options

Comment options

You must be logged in to vote
2 replies
@navincodesalot
Comment options

@esebastian
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
6 participants