Commit 7db10a9c authored by Lionel Walter's avatar Lionel Walter
Browse files

Package application with setup.py and update README and Dockerfile

parent b64f93d0
Pipeline #9661 failed with stages
in 1 minute and 39 seconds
.idea
__pycache__/
charts
import_api_app.egg-info
......@@ -15,6 +15,8 @@ RUN wget https://get.helm.sh/helm-v3.2.1-linux-amd64.tar.gz && tar -xvzf helm-v3
ENV PATH /import_api_app/helm:$PATH
RUN ./pull-charts.sh
RUN pip install -r requirements.txt
WORKDIR /
ADD setup.py /
RUN pip install -e .
ENV FLASK_APP import_api_app
ENV FLASK_ENV development
......
......@@ -17,6 +17,7 @@ kubectl apply -f .
python3 -m venv venv
. venv/bin/activate
pip3 install -r requirements.txt
pip3 install -e .
cd app
mkdir charts
./pull-charts.sh
......
from setuptools import setup
setup(
name='import_api_app',
packages=['import_api_app'],
include_package_data=True,
install_requires=[
'flask',
],
)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment