-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Anton Khodak
committed
Oct 18, 2018
1 parent
0e8ae95
commit 906fa8a
Showing
3 changed files
with
21 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
2018_paper_materials | ||
rjacks | ||
results | ||
server/redis-stable | ||
server/k8s | ||
.gitignore | ||
server/Dockerfile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,19 @@ | ||
FROM tiangolo/uwsgi-nginx-flask:python3.6 | ||
|
||
COPY ./app /app | ||
COPY reference_grna_efficacies /app/ | ||
COPY jacks /app/jacks | ||
|
||
RUN cd jacks && pip install . && \ | ||
pip install -r server/requirements.txt | ||
RUN pip install --upgrade pip && pip install -r /app/requirements.txt | ||
RUN pip install --upgrade pip | ||
RUN cd /app/jacks && pip install . | ||
|
||
COPY server /app/server | ||
RUN pip install -r /app/server/requirements.txt | ||
|
||
ENV LISTEN_PORT 8005 | ||
ENV PYTHONPATH=/ | ||
ENV PYTHONPATH="/app/jacks:/app/server" | ||
ENV FLASK_DEBUG 1 | ||
ENV UWSGI_INI /app/server/uwsgi.ini | ||
ENV STATIC_PATH /app/server/static | ||
WORKDIR /app/server | ||
|
||
EXPOSE 8005 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[uwsgi] | ||
module = app | ||
callable = app |