Install dependencies in prebuild #1458
-
hello folks, messing with prebuilds and wanted to know, I install yarn / pip etc dependencies as a postCreateCommand which takes time when the instance comes up. Can you call a command in a prebuild to get the deps for you to nullify the need on container startup? Or are prebuilds everything minus the code in the workspace? Its not entirely clear in the docs. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey @buggtb, we currently don't include the changes of lifecycle commands like This is something we can change though :) |
Beta Was this translation helpful? Give feedback.
Hey @buggtb, we currently don't include the changes of lifecycle commands like
postCreateCommand
into the prebuild, only features and whatever is in your Dockerfile in case you have one.This is something we can change though :)