From 853b5233e263776b108f42cfa8dcca0a6a0620a9 Mon Sep 17 00:00:00 2001 From: Hao Xu Date: Sat, 15 Sep 2018 17:43:09 -0400 Subject: [PATCH] update build tools and other --- Dockerfile | 2 +- app.py | 2 +- icees-api-container.service | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 36d4db20..3600b556 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ FROM python:3.5 RUN openssl req -x509 -newkey rsa:4096 -nodes -out cert.pem -keyout key.pem -days 365 -subj "/C=US/ST=North Carolina/L=Chapel Hill/O=UNC Chapel Hill/OU=RENCI/CN=icees" RUN pip install flask flask-restful flask-limiter sqlalchemy psycopg2 scipy gunicorn jsonschema flasgger pyyaml tabulate -RUN git clone https://github.com/xu-hao/icees-api +RUN git clone https://github.com/NCATS-Tangerine/icees-api WORKDIR /icees-api diff --git a/app.py b/app.py index effc5755..b87cb76d 100644 --- a/app.py +++ b/app.py @@ -24,7 +24,7 @@ template = { "info": { "title": "ICEES API", - "description": "ICEES API [documentation](https://drive.google.com/open?id=12TgOZMFkWQLMhjZeN4RVzdxvlt1VYcO8)", + "description": "ICEES API [documentation](https://drive.google.com/open?id=12TgOZMFkWQLMhjZeN4RVzdxvlt1VYcO8)
versiontable
1.0.0container cdw, acs, nearest road, and cmaq from 2010 to 2011
", "version": "0.0.1" }, "consumes": [ diff --git a/icees-api-container.service b/icees-api-container.service index f760d628..3e9c91eb 100644 --- a/icees-api-container.service +++ b/icees-api-container.service @@ -1,6 +1,7 @@ [Unit] Description=ICEES API container After=docker.service +Requires=docker.service [Service] Restart=always