diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..ad6f018 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,10 @@ +FROM python:3.7 + +LABEL maintainer="Dan Muckerman " + +WORKDIR /project +ADD . /project +RUN rm -rf /project/env + +RUN pip install -r requirements.txt +CMD ["flask","run","--host=0.0.0.0"] \ No newline at end of file diff --git a/app.py b/app.py index 0e964ee..d1950c2 100644 --- a/app.py +++ b/app.py @@ -7,7 +7,7 @@ Bootstrap(app) app.secret_key = 'asdf' app.debug = True -with open('config.yaml') as f: +with open('config/config.yaml') as f: yaml_data = yaml.load(f, Loader=yaml.SafeLoader) search = yaml_data['search'] diff --git a/config.yaml b/config/config.yaml similarity index 100% rename from config.yaml rename to config/config.yaml