Adds docker-compose file and fixes upload folder for docker container

This commit is contained in:
Patrick McDonagh
2016-11-01 20:23:42 -05:00
parent 849b4e5d82
commit 7082fd0fd2
2 changed files with 27 additions and 1 deletions

View File

@@ -7,7 +7,7 @@ from werkzeug.utils import secure_filename
from sqlalchemy import and_
import mysql.connector
UPLOAD_FOLDER = '/Users/patrickjmcd/Henry_Pump/tagserver/web_db/flask/app/docs'
UPLOAD_FOLDER = '/root/tag-server/flask/app/docs'
ALLOWED_EXTENSIONS = set(['txt', 'pdf', 'png', 'jpg', 'jpeg', 'gif'])
app = Flask('app', static_url_path='')