This repository has been archived by the owner on Jul 27, 2023. It is now read-only.
python-flask Pipfile not populated with required dependencies after appsody init #748
Labels
stack/python-flask
Issues related to python-flask stack
Describe the bug
In order to run resolve the applications dependencies within the development environment, we need the Pipfile in the workspace to be populated with the necessary dependencies after
appsody init
however, these dependencies are present only within the image.To Reproduce
Steps to reproduce the behavior:
mkdir my-app
cd my-app
appsody init python-flask
pipenv install
Expected behavior
A python virtual environment to be created with the necessary dependencies
Actual behaviour
A python virtual environment is created, but none of the necessary dependecies are installed. They are not present in the Pipfile. If you deploy to the container, however, you will see:
python -m pip install -r requirements.txt -t /project/deps
The necessary requirements for pip to install the environment are included w/in the image in:
https://github.com/appsody/stacks/blob/master/incubator/python-flask/image/project/Pipfile
Environment Details (please complete the following information):
If applicable please specify:
The text was updated successfully, but these errors were encountered: