Skip to content
This repository was archived by the owner on Feb 15, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ RUN yum install python3-pip wget

RUN pip install --upgrade pip \
&& pip install --upgrade pipenv\
&& pipenv install --system --deploy --ignore-pipfile
&& pipenv install --system --deploy

USER 1001

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile-tools
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ RUN yum -y install --disableplugin=subscription-manager python3-pip wget \
&& yum --disableplugin=subscription-manager clean all

RUN pip3 install pipenv
RUN pipenv install --system --deploy --ignore-pipfile
RUN pipenv install

# Update python command to point to python3 install
RUN alternatives --set python /usr/bin/python3
Expand Down
3 changes: 0 additions & 3 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,3 @@ ibmcloudenv = "*"
livereload = "*"
Flask = ">=1.0.0"
prometheus_client = "*"

[requires]
python_version = ">=3"
25 changes: 14 additions & 11 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ To get started building this application locally, you can either run the applica

* Install [Python](https://www.python.org/downloads/)

Running Flask applications has been simplified with a `manage.py` file to avoid dealing with configuring environment variables to run your app. From your project root, you can download the project dependencies with:
Running Flask applications has been simplified with a `manage.py` file to avoid dealing with configuring environment variables to run your app. From your project root, you can download the project dependencies with (NOTE: If you don't have pipenv installed, execute: `pip install pipenv`):

```bash
pipenv install --system --deploy --ignore-pipfile
pipenv install
```

To run your application locally:
Expand Down