python - How to have multiple django requirements file mentioned in fig file for docker deployment across dev, staging and prod servers? -


i wrote first fig file. makes working docker awesome.

i want fig launch local, staging, , prod containers well. wrote 3 different fig files. fig-dev.yml, fig-stage.yml , fig-prod.yml.

the 3 yml files contain images needs pulled per requirements of 3 servers.

in django applications, have 3 different requirements file(local requirements, staging requirements, , production). wanted specify each of 3 in yml files. since can run pip install *-requirements.txt in dockerfile.

there no way, can pull code different servers, , while building it, can pass flags requirements file install things from.

there issue on fig, asks support multiple dockerfiles. there way, can pull code, pass flag specify, requirements install from?

thanks!


Comments

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -