Skip to content
Snippets Groups Projects
Commit efcd30d1 authored by erichard's avatar erichard
Browse files

Introduction de la variable d'environnement LABELSTOWER_ENV.

Cette variable permet de paramétré l'application (ex. choisir la BD
à utiliser).
parent caa3652c
No related branches found
No related tags found
2 merge requests!61Packager labelstower,!60WIP: Implement sqlalchemy
......@@ -11,8 +11,10 @@ RUN pip install --trusted-host pypi.python.org -r requirements.txt
# Run flask
EXPOSE 5000
ENV FLASK_APP=app/labelsTower.py
ENV FLASK_ENV=development
ENV LC_ALL=C.UTF-8
ENV LANG=C.UTF-8
ENV LABELSTOWER_ENV="app.config.ConfigVoiture"
CMD [ "flask", "run", "--reload", "--host", "0.0.0.0" ]
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment