1
0
mirror of https://github.com/avatao-content/test-tutorial-framework synced 2025-06-28 18:45:12 +00:00

Refactor webservice to use SQLAlchemy and other good stuff

This commit is contained in:
Kristóf Tóth
2018-04-28 15:51:04 +02:00
parent c14b244c1e
commit db9e2c055f
5 changed files with 55 additions and 52 deletions

View File

@ -1,8 +1,12 @@
FROM eu.gcr.io/avatao-challengestore/tutorial-framework
# Install webservice dependencies
RUN pip3 install Flask==1.0 \
SQLAlchemy==1.2.7
# Define variables to use later
ENV TFW_SERVER_DIR="/srv/.tfw" \
TFW_WEBSERVICE_DIR="/srv/login_service" \
TFW_WEBSERVICE_DIR="/srv/login_service" \
TFW_IDE_WD="/home/${AVATAO_USER}/workdir" \
TFW_TERMINADO_WD="/home/${AVATAO_USER}/workdir"